How inflation is impacting the stock market