gen·o·cide /ˈjenəˌsīd/ noun the deliberate killing of a large number of people from a particular nation or ethnic group with the aim of destroying that nation or group.
From what I understand, the actions of Hamas are clearly fell under this definition. Their goal is to kill all Jews. I don’t see how actions of IDF could be classified as genocide, since their declared goal is to kill the Hamas leaders, and not some nation or ethnic group.