Unless there is a monopoly, companies have to offer the lowest / best deal or they go out of business quickly.
Food and many other industries are extremely competitive and there is no wiggle room to just raise prices and laugh at poor people.
If transportation is 50% of your products price (end to end); and fuel cost doubles, then you have to raise prices 50% just to break even.
I don't know why you think companies like competition more than they like profits. Companies raise their prices in lockstep a lot: sometimes it is coordinated, mostly its not. Despite your faith in perfect competition: established companies do not want a race to the bottom - which is a classic iterated prisoner's dilemma scenario.
Incumbents rarely want to rock the boat against other, similar-sized incumbents.