At least 20 people died when an Israeli missile, which the Israeli Defense Forces (IDF) said targeted a Hamas command center nearby, struck just outside the church compound.