Let's see why prices go up
1.>Poducer be that farming, mining, fisihing etc.. wants the highest price product
2.>Workers for producers want the highest wage possible
3.>Transporter from raw material site to production site wants the highest price possible.
4.>Worker for transporter wants the highest wage possible
5.>Manufacturing site wants the highest price possible for turning raw porduct(s) into final good
6.>Transporter from manufacturing site to next site (If manufacturing go back to step 3) if distiburtion site go to step 7.
7.>Transporter wants whighest price possible
8.>Worker for transporter wants highest wage possible
9.>Distiburtion site wants low price possible
10.>Distiburtion site worker wants highest wage possible.
11.>Transporter to final site wants highest wage possible
12.>Worker at final site wants highest wage possible (if shop go to step 14)
13.>Transporter from final site to final customer wants highest wage possible
14.>Customer wants lowest price possible.
And that's not inculuding price of fuel for all that transportation, property costs, power, telephone, advertising and of course all the workers for those companies want the highest wage possible
Now of course other factors can impact prices such as war, crop failure, pandemics, suply chain disrubtion