Prime Minister Benjamin Netanyahu of Israel, speaking at the United Nations General Assembly in New York last month, said Saturday that Israel is “at war” with Hamas.Credit…Maansi Srivastava/The New York Times