Companies base their prices on what the market will bear, not necessarily on their costs.
If all companies in an industry suddenly face higher costs, that shifts the supply+demand equilibrium.
Looking at the demand curve alone does not tell you the equilibrium price.
If every point on the supply curve increases by 5%, this will almost change the price at which the supply and demand curves intersect.
See: https://en.m.wikipedia.org/wiki/Tax_incidence
Because now they have an external reason they can point to, similar to “inflation”… even if the extra charges end up being mostly profits.
Companies base their prices on what the market will bear, not necessarily on their costs.