Its because of the companies too i mean they are not making too much ram on purpose to make supply low and demand high.
Except that's nonsense, any company that could make more ram absolutely would because the damand is insane. There is no universe or economy where it would be profitable to artificially lower your production to keep prices high when you can just make more ram.
No, the foundries are just redirecting production to HBM, which is in much higher demand.