I think you greatly overestimate the ability of markets to function in times of crisis. Especially when the concerns are not just efficiency, but also fairness in terms of who gets gas. Rationing via price doesn’t do anything to ensure the right people get gas (eg. old people, sick people, etc.).
Plus, allowing price gouging makes markets more susceptible to failure caused by violence and reduced future social cohesion. Do you really want cops guarding store supplies in an emergency situation because he had the gall to try to rip a bunch of angry, desperate people off?