It comes as Israel and the militant group Hamas appeared to inch closer to a ceasefire in the 14-month war.