An individual company sets its prices to optimize revenues. That depends only on the demand curve and is independent of costs. However, it's a rare market where even the most marginal suppliers earn enough producer surplus to make up for significant increases in production expenses. If the optimal revenue isn't enough to turn a profit then the business will close. That decrease in supply with no change in demand allows the remaining suppliers to raise their prices—though not necessarily by the full amount of the increase in cost, because only part of the decrease in supply manifests as an increase in price. The rest manifests as potential consumers doing without the good altogether, perhaps turning to lower-priced (but less satisfactory) substitutes.
> A 3% increase could make their costs higher than revenue.
This might be true for many businesses but likely not the large digital ones, which enjoy ungodly margins (hence why they grow so much and so quickly). A unicorn's back is strong enough to carry quite a few saddles.