The Iran war has disrupted supply chains for products such as oil and fertilizer, spiking costs and putting pressure on the global economy.