SANA, Yemen — A ballistic missile fired from Yemen came close to the Saudi capital, Riyadh, on Saturday and was intercepted by the Saudi military over the city’s international airport, the Saudi defense ministry said.

Coming on a day of increasing regional tensions, it was the first time such an attack had come so close to the center of Riyadh in the two years since Saudi Arabia started a war against the Houthi rebel group that toppled Yemen’s government.

Yemen’s Houthi-controlled defense ministry said its forces had targeted the airport with a long-range missile called the Burqan 2H in response to an attack by the Saudi-led coalition on Wednesday that killed 26 people in a hotel and a nearby market.

But the Saudi-led coalition suggested the attack had been ordered by Iran, which it said backs the Houthis.