High inflation, the Russia-Ukraine war, and Covid lockdowns in China have all weighed heavily on the stock market.