The conflict between Iran and the US and its allies has caused widespread airspace closures in the Middle East, sparking major disruption to flights.