Resource allocation that favors public wellbeing over market efficiency.
EDIT: Now, if you suspect price gouging, that's different. wtfrmyinitials was referring to a genuine shortage, though.
So the only way to "solve" the issue is to add more supply, and "price through the roof" is as good a way to get more supply (and possibly better) as the government mandating more production.
The only change to resource allocation we need is a psychological one: specifically, to accept the idea that prepping, even at a very small level, is not insane.