The manufacturer prices would be higher, thus triggering price gouging laws.
If those companies decided that they were going to stop selling their current stock of masks completely until they sold for a higher price, that would be price gouging.
You know, like a global pandemic. That's a pretty desperate time, IMO.