El Al Israel Airlines swung to a ​loss in the first quarter, ‌saying it was hurt by the conflict with Iran that had ​kept Israel's airspace largely ​closed to commercial flights.