Actually, from an international law perspective, I think matters are rather uncontroversial (insane propagandists notwithstanding).
- No, attacks (by either party!) on civilians are actually never okay.
- Yes, Israel has a right to defend itself against attacks - within the confines of international law (according to which several things that have already happened - excluding the much debated Al Shifa hospital episode - are clearly illegal).
- Palestinians do have a right to resist their occupation - including by violent/military means. They, too, however, are bound by international law, e.g., "no deliberate targeting of civilians".
- In this view, it is arguable that both the Hamas attack and Israeli actions such as large-scale evacuation orders or cutting Gazans off from food, water, electricity are arguably severe violations!
Again, none of this is particularly controversial, if you manage to not let yourself be ideologically blinkered!
Seems like currently, especially on social media, and especially from the young and naive (though not, of course, limited to the young), the idea that some rape, murder and violence is quite justifiable, even admirable, if you personally like the ideal or the cause, is back in vogue.
While I would whole-heartedly agree, I am not sure this is particularly new! I remember (yes, predominantly the young - specifically young MEN!) having some serious "Islamic Jihad fangirl" issues 20 years ago! I used to tear them a new one and tell them I suggested they get into video gaming if they really enjoyed the notion of bloody murder so much!
In the same vein, I am truly astonished at all the staunch allies and true friends the state of Israel seems to have all of a sudden! And how saddened and deeply concerned your friendly neighbourhood rabid racist suddenly seems to be by anti-semitism.
In the German speaking world (I do a lot of business, follow closely) there is a veritable onslaught of outrage over all the anti-semitism - and how bad, bad, bad it is that we have allowed for it to be "imported" ... as though European antisemitism had somehow, magically, vanished in 1945 and we needed to re-import us some.
The irony! It burns!
(For the record, and because it is all such a powder keg: needless to say I am vehemently opposed to both antisemitism and other racism! I am just also despairing at one being misused to express the other!)