Because Iraq, by not preventing Iranian military action in their airspace implicitly has made it part of the war zone - same way Lebanon & Syria allowing Hezbollah to use their territories for military action has made their territories part of the war zone.