I presume a shortage is far more destabilizing for the most essential things than a higher price.
Plus the government can act as a central buyer to back those who have the greatest needs. That and companies should be responsible for providing protection for employees