Days of attacks and reprisals by the two enemies have shuttered airspace across the Middle East, severely disrupting commercial flights and leaving people unable to get in or out of the region easily.