The Iran war triggered airspace closures, grounding tens of thousands of flights and cutting off key global transit hubs.