The point is that capping the price of e.g. masks means _fewer masks_ are produced, which is worse for stopping the pandemic.
>If the seller can prove that the increased price is directly attributable to increases in the cost of labor or materials needed to provide the good or service, the seller may not be liable under the statute.
It's right there on the linked page. This basically prohibits large markups while allowing for passing of costs.