So let me clairify, supply and demand always exert influence. The question is which is a bigger factor at a given time.
Supply constraints can be pushing prices up, but demand pressure can be pushing prices up MORE.
If you look at your comodity costs, the question is if less of them are being produced than before, or similar numbers are being produced, but competition is willing to pay more for them.
To take a look at something simple like beef, supply keeps going up year over year. Producers in general have a healthy profit margin. However, people are willing to pay more for beef. Would you call this a supply driven problem or a demand problem.
You could do the same for energy costs.