Oil and gas price hikes due to the war have rattled the global economy.