You seem to be describing a free market system, however, large amounts of inefficient Government spending and subsidies causes pricing dislocations, including an increase in general inflation rates, that can last for years, if not decades. US government spending has been increasing as a percentage of GDP for a long time, seemingly accelerating in recent years. This is changing the nature of our economic system where the end result is productivity gains become harder to come by resulting in a lower standard of living for more people. This manifests in shortages of goods and higher prices even without sudden shocks to our supply chain. Long term distribution of income statistics seem to support these contentions. So while the long term adjustment mechanism regarding allocation or goods may ultimately be price, subsidies can impact that adjustment process for a long time. Subsidies can also hide some of the adverse effects of Government spending for a long time as well.
Let’s discuss inefficient Government spending in a little more detail. Imagine what could happen if the Government invested or encouraged the investment in multiple, large energy infrastructure projects that ultimately reduced the cost of energy by stabilizing supply and reducing price shocks. The cost of producing energy is more than just the cost of exploration. There are financing costs which can be affected by inflation due to potential changes in monetary policy as recently seen, there are regulatory costs that can affect willingness of energy companies to undertake exploration, and there are public resources that includes Government owned land that can also lower the risks and costs of exploration. Stable energy prices can reduce energy price risk premiums leading to a lower average price of energy needed justifying capital spending in energy projects. Given that current energy costs in manufacturing, transportation, and household expenses are rather high now, what would happen to inflation if these costs were reduced? Now consider the effect of inefficient Government spending such as subsidizes to foreign companies and excessive defense spending for a guns versus butter type of argument.
Bottom line, inefficient Government spending interferes with price discovery, often reduces productivity leading to reduced standard of living for most, and is inherently inflationary in proportion to the amount of spending. No free lunch for everybody, but if we get our energy policy right, we will all benefit.
The problem with your accurate assessment is as I said there will be no change in government spending so the free market we have is the main way price shocks revert. FED's artificial inputs can cause a quicker timeline but U.S. will never stop subsidizing or spending.