People act as though Hamas is some foreign entity that came into Gaza and must be separated out from Palestine. Not all Palestinians are jihadist militants called "Hamas", but all these Jihadists in the Gaza Strip are Palestinians, they didn't pick up a new identity. And it's not as though Hamas doesn't have local support.
When you see "civilians" carry dead children out of the rubble, towards a camera, parade the child's body around, and call them "martyrs", hmm wonder if they support Hamas or not. Are they even the parents of the child or just using the corpse as planned? A martyr to what - it's not as though the toddler had the agency to choose or understand the cause. No, the child is a means to an end, a child is sacrificed for the cause, and it serves its purpose. It just sucks that the kids get caught up in it and the ones that live then may go on to support and/or join Hamas themselves. Hamas is made up of Gazan Palestinians and routinely replenished. That doesn't happen without support from men and women from the area.
This situation is the definition of cyclical violence. But that doesn't mean the terrorists didn't ever have agency. There are plenty of people in Gaza subjected to the same conditions that don't choose or support terrorism. So, I don't feel bad for terrorists who get gunned down, even if Israeli policy helped shape them.