If you only criticize civilian casualties when Palestine resists, then your concern isn't civilian casualties. Your concern is Palestine resisting massacre.
Casualties? Hamas wanted to kill as many citizens of Israel as possible, no matter of what nationality they were. Even tourists were killed. Casualties are about bad luck, but Hamas victims were murdered because of evil intention. They cannot be compared to Palestinian casualties in any way.
While I agree with you about Hamas, the fact you don't apply the same logic to the IDF is very telling. A country that believes a whole group of people are less than human and wants them eradicated absolutely intends every casualty it inflicts.
Israeli snipers murder innocent children, journalists and medical staff because of evil intentions.
Israeli bombs dropped on one of the densest populated areas which are bound to inflict civilian casualties are doing their intended evil.
The choice to turn off the electricity even though it will guarantee deaths in hospitals is not bad luck and is evil.
Israel is evil.
In fact if we're going by civilian casualties Israel is like 36x more evil.
Hamas wanted to kill as many citizens of Israel as possible
Source?
This is false. Hamas is not free of criticism, they did commit needless killing of civilians, but their main target remains the IDF. This is contrasted with Israel, whose target is civilians.
Even the music festival was located right next to the Re'im base. The festival itself had Israeli gunned men and tanks. Again, I do not condemn the civilians needlessly killed by some Hamas members, but the operation's target was the military.