What does end up happening is something (like a outbreak or natural disaster) causes a regional shortage of a good, which is often extended because there is no real incentive to divert goods to fill the shortage.
Today that if often mitigated because of large national companies like CVS, Walmart, Lowes, Home Dept, etc who will move their supplies around based on normal prices
But in some situations Mr. Bill that owns the local store may have an excess supply of Good X, and would be incentivized to move them to an area of shortage if the price was higher. With Price gouging laws he will not bother.
Further Increasing in prices also in some ways allows for people with the greatest NEED for the items to actually get them, and discouraging hoarding.