Airlines in the United States and Europe suspended flights to and from Israel on Tuesday after a rocket fell about a mile from Ben-Gurion International Airport outside Tel Aviv.

Major airlines canceled service — and in several cases, diverted planes in midflight — after the Federal Aviation Administration instructed American carriers not to fly to Israel for 24 hours because of the “potentially hazardous situation created by the armed conflict in Israel and Gaza.”

The disruption of air travel at the height of the summer tourism season highlighted the growing impact of the conflict in the Gaza Strip on the Israeli economy, even as the government sought to project an aura of business as usual.

It also provides a victory of sorts for the Palestinian militant movement Hamas, which controls Gaza and has been firing rockets at Israel for the past three weeks. It is the first time the group has managed to cause restrictions on travel to Ben-Gurion airport; the last time foreign airlines suspended service to Israel was in 1991, when Iraq fired Scud missiles at the country.