I remember just after all this kicked off last October there was an interview with an ex hamas guy (who is now an anti-extremism researcher) about what their plan was with all of this.
He mentioned how their plan had always been to force a reaction from Israel and then use social media to build support among specifically both the Muslim diaspora and progressive non-muslims in Europe/NA.
The worse it gets in Gaza, the better it is for Hamas. Their support in Gaza goes up, and they gain additional support abroad, while Israel loses support. Win/win/win
Both can be true. I agree with you.