Look at it this way...let's say a gun shop owner needs $1,000/month to feed his family. I'll keep the math simple since supply/demand seems a difficult concept for some people.
Pre-panic he was reasonably assured he could get whatever stock he wanted from a distributor whenever he wanted it, so he sold 10 AR's a month for "a good price" and at the end of all his expenses he was able to make his $1,000 to feed his family. All is good, supply and demand are matched up pretty good (known as equilibrium).
TODAY, the distributor tells him, "I've got 1 AR for you, and you probably won't get another for 6 months". Well, his kids still have to eat so that 1 rifle now needs to support his family for 6 months, of course the dealer is going to raise his price to "maximize profit". He'd better sell it to the highest bidder, because at the end of the day he's going to lose his ass for lack of product to sell. If he were a generous guy and still sold the rifle for $1,000 he is being a poor father and letting his kids suffer.
This unexpected shift in the demand curve and the resulting shock to prices is all Econ 101 stuff. Bitch about it, sure. But stop ascribing evil to it.