Its possible these last 9 months are a preview of the next 9 years, as the market enters a period of lower than average returns to balance out the above average returns that it has delivered in the last 12 years.
Either that or producers and retailers raise their prices and profits. Wages go up. Consumer spending goes up. Stock prices rise.
E.g. Company XYZ has earnings of $1/share and a PE of 25. Their earnings are based on selling things for $10 that they produce for $9. Inflation causes all prices to increase 10%. Now they are selling things for $11 that they produce for $9.90. Earnings rise to $1.10 per share. Their PE stays unchanged and their stock price goes from $25 to $27.50, an increase of 10%.
Actually it's better than that because XYZ is 60% capitalized by debt locked in for the next 5 years at a 3% annual interest rate. The owners of those bonds take a NFL punt kick to the crotch, while stockholders enjoy the earnings tailwind of borrowing at deeply negative real interest rates. Because the cost of debt payments are nominally locked in, they become a smaller and smaller part of the overall cost of production as everything else rises. This is a roundabout way of saying the cost of production does not go from $9 to $9.90, because the interest expense does not rise. Maybe in XYZ's example it goes from $9 to $9.75? That would mean earnings rise $1.25 instead of $1.10, an increase of 25% which translates to the stock price.
It could be even better than that if XYZ's consumers have locked in low rates on their house and car loans. When they get a 10% raise, the payments on their biggest purchases stay the same, giving them more discretionary income to waste on crap from XYZ. Thus, XYZ earns a lot more sales with a profit of a lot more per sale than they did prior to the inflation.
Bond top is in.