I wondered about this too, but both sides of the ratio are denominated in current dollars, so dollar valuation is already divided out:
ratio of total US stock market value to US GDP ratio of total US stock market value to US GDPThe money supply has been increasing for already some time, but only now we are seeing inflation catching up for example on consumer prices.
For money supply to show in consumer/business side of GDP, money created by central bank need to be distributed. When interest rates have been low, maybe banks were hesitant to start pushing money to individuals and businesses and it instead ended up in stock market.
Historically stocks perform poorly in times of high inflation.