A Qatar Airways plane and two Emirates planes were stuck in Auckland after the airlines cancelled flights through Doha and Dubai amid the Iran attacks.