There are many situations where by far the likeliest explanation is Hamas killed Palestinians for the cameras. And we know Hamas send civilians into the border zone to get them killed so the negative popular opinion would get Israel to quit enforcing the border zone.
So, not evil. They have a reasoned motive for their actions, and view the deaths of people they consider enemies to be of less importance than their objectives; And the deaths of people they consider heroes and martyrs to be an acceptable price.
Just like literally everyone else in history.
Just like Israelis.
They want to win, and if some of their own people die to achive that, they can pop up some nice memorials and hand out posthumous medals; Maybe even pay widows and orphans some generous pensions.
Their actions are only "evil" if you take sides. From a neutral perspective, on both sides the leaders are doing the exact same thing - killing enemies, both combatant and non-combatant, and sacrificing the lives of some of their own people, with the aim of moving towards their strategic desires.
View attachment 54725