You’re missing the point. Hamas brutally oppresses its own people, as does Israel’s goverment. This is a predictably violent response from a violent group in retaliation against another violent group, and innocent people in both countries who just want to live their lives will suffer for it.
There are no good guys here. Israel is ultimately at fault for its treatment of Palestine, but that doesn’t excuse Hamas tactics of executing civilians in their homes - tactics that will not work and will not bring anyone to their side.
This is going to be a long, shitty time for a lot of people and nothing will be solved. And that fucking sucks.