It's nice for Hamas to already provide new material to justify the invasion's continuation,
People really need to be more judicious with their use of terms like invasion and occupation. Misuse of these terms is rampant and deliberate to obfuscate what is actually going on.
Israel is NOT "invading". This implies that Israel is attacking a neighboring State. In actuality, Gaza is a part of Israel. Which is why its Water and Power were provided by Israel, and not Egypt. What Israel is doing is conducting an internal security operation on Israeli soil against non-citizens subjects of Israeli law and sovereignty.
But that is hard to say in a 5 second sound bite. So sure. Its "an Invasion".
Secondly, Israel is not an occupying power. To be an "occupier", a State has to control territory and citizens claimed by another State. At BEST the only place where this is operative would be the Golan Heights. The West Bank and Gaza were ceded to Israel by Egypt and Jordan in the Camp David Accords and the Wadi-Araba Treaty respectively. As for the rest of the Israeli State more broadly, saying it is an "occupation" implies that every Israeli in Israel has no legal right to being where they are, which is a farce.
As for "Palestine" as a country, it remained solely a dreamed up idea in the UN that was never effectively implemented and has never had a governing authority that did not derive its authority from Israel itself. The Palestinians themselves only have a national identity as the Stateless Arabs the surrounding Arab States refused to incorporate. And part of what caused that problem was those same Arab States starting and then losing a series of wars with the Israelis.