While there are of course certain factors of supply and demand that can directly effect prices, such as bird flu means less chicken and eggs (reduction in supply) while demand stays the same, prices will rise due to shortages. Or the CA fires and natural disasters will cause insurance premiums to rise (more demand, limited supply). But the majority of prices rising over time has historically and will always be a monetary phenomenon. The government spending and increase in the money supply that leads to the devaluing of our US dollars.
Source: $5 eggs and other inflation pain points: Here’s where prices are rising