A lot of economics seems to me like the “perfectly spherical cow in a vacuum” jokes you hear about physics. There’s no concept of friction or activation energy. “The market” simply adjusts in real time without human interaction.
In the real world someone needs to pitch a price increase. There’s risk that sales and profits might drop. That’s bad for the company and that persons career. When everyone else is raising prices and your costs are going up then that risk:reward ratio looks different.
My company was seeing increased material costs, they raised prices to cover that and then some. Sales are down but profits went up slightly. I was in the meetings where this was discussed yet people will tell me it doesn’t happen.