DEIR AL-BALAH, Gaza Strip — Israel said Sunday that it will close its embassy in Ireland as relations deteriorated over the war in Gaza, where Palestinian medical officials said new Israeli airstrikes killed more than 30 people, including several children.

The decision to close the embassy came in response to what Israel’s foreign minister has described as Ireland’s “extreme anti-Israel policies.” In May, Israel recalled its ambassador to Dublin after Ireland announced, along with Norway, Spain and Slovenia, that it would recognize a Palestinian state.

The Irish Cabinet decided last week to formally intervene in South Africa’s case against Israel at the International Court of Justice, which accuses Israel of committing genocide in Gaza. Israel denies it.

“We are concerned that a very narrow interpretation of what constitutes genocide leads to a culture of impunity in which the protection of civilians is minimized,” Ireland’s deputy premier and foreign affairs minister, Micheal Martin, said in a statement.

Israeli Foreign Minister Gideon Saar’s statement on the embassy closure said “Ireland has crossed every red line in its relations with Israel.”

Irish Prime Minister Simon Harris called the decision to close the embassy “deeply regrettable.” He added on X: “I utterly reject the assertion that Ireland is anti-Israel. Ireland is pro-peace, pro-human rights and pro-international law.”

Israeli forces continued Sunday to pound largely isolated northern Gaza, as the Palestinian death toll in the war approached 45,000.

One airstrike hit the Khalil Aweida school in the town of Beit Hanoun and killed at least 15 people, according to nearby Kamal Adwan Hospital, where casualties were taken. The dead included two parents and their daughter and a father and his son, the hospital said.

In Gaza City, at least 17 people including six women and five children were killed in three airstrikes that hit houses sheltering displaced people, according to Al-Ahli Baptist Hospital.

“We woke up to the strike. I woke up with the rubble on top of me,” said a bandaged Yahia al-Yazji, who grieved for his wife and daughter. “I found my wife with her head and skull visible, and my daughter’s intestines were gone. My wife was three months pregnant.” His hand rested on a body wrapped in a blanket on the floor.

Israel’s military in a statement said it struck a “terrorist cell” in Gaza City and a “terrorist meeting point” in the Beit Hanoun area.

Another Israeli airstrike killed a Palestinian journalist, Ahmed al-Lawh, working for Al Jazeera in central Gaza, a hospital and the Qatari-based TV station said.

The strike hit a point for Gaza’s civil defense agency in the urban Nuseirat refugee camp, Al-Awda Hospital said. Also killed were three civil defense workers, including the head of the agency in Nuseirat, according to al-Aqsa Martyrs Hospital. The civil defense is Gaza’s main rescue agency and operates under the Hamas-run government.

The war in Gaza began after Hamas and other militants from Gaza stormed southern Israel on Oct. 7, 2023, killing about 1,200 people and taking well over 200 hostage. Many hostages remain captives.

Israel’s retaliatory offensive has killed almost 45,000 Palestinians, according to Gaza’s Health Ministry. The ministry’s count does not distinguish between combatants and civilians, but it says over half of the dead have been women and children.

Some criticism of Saar’s decision to close the embassy in Ireland came from within Israel. Yair Lapid, the centrist leader of Israel’s parliamentary opposition, wrote in a social media post on X: “The decision to close the Israeli embassy in Ireland is a victory for anti-Semitism and anti-Israel organizations. The way to deal with criticism is not to run away, but to stay and fight!”

The New York Times contributed.