If some other store did not ration the product, then they would have empty shelves, so I'd go to the one that did.
Because they had a government gun to their head in the form of anti-gouging laws, or implications for the same. That's what I am arguing against.
If they were free to set prices, they might consider raising prices to keep stores in stock, rather than ration. They might not, if they calculate it will be a long-term PR hit. But right now, they are not free to choose.
Further, local and state politicians and AGs often are seen grandstanding about how they stand ready to prosecute anyone who is raising prices on necessities beyond the normal price (sometimes allowing +10%, but often not even being explicit about that, leaving businesses in a murky area).
Watch for it next time a power disruption hits your local area.