Let’s say it takes 5 years to recoup that initial investment to procure materials and manufacture masks at current pricing. Most experts agree the pandemic will have run its course within a year or two. So common sense says getting into the mask business where it will take 5 years to recoup your losses is a bad bet.
But if pricing was allowed to follow demand, there is more incentive for aspiring mask manufacturers to take those risks. Maybe the cost to ramp up production can be covered in a couple of years or maybe even a couple of months. That mitigates risk and given opportunity like that, existing mask manufacturers will be better incentivized to scale their production more rapidly. And then more masks get produced quickly, scarcity decreases, and pricing eventually finds equilibrium again.
But because we don’t allow “gouging” (whether for legal or social reasons), the mask shortage will continue until existing manufacturers can produce enough to meet demand. And some people that need PPE won’t have it easily available until then, but we will feel awfully good about making sure nobody got gouged. After all, nobody gets gouged if there is nothing to buy.