The consequences of the war in Ukraine are being compounded by the continuing pandemic, a global tightening of credit and a slowdown in China, the second-largest economy.