Israel controlled six of seven land borders with Gaza, all of Gaza's airspace and coastal water along with the Gazan population registry. Nothing and no one got into or out of Gaza without IDF permission. That qualifies as an occupation under international law.
The IDF is only good for one thing: killing civilians including their own
Israeli army probe finds multiple cases of friendly fire on October 7 - The Grayzone
"A review by the Israel Defense Forces (IDF) set to be released this summer will conclude that Israeli soldiers killed many of their own people on October 7, Israeli media reported.
"The inquiry is expected to identify multiple failures of the IDF during the Hamas rampage in southern Israel.
"According to Israelās Channel 12 News, the IDF report due to be released in mid-July found 'many casualties due to our forces firing on our forces.'
"Tel Aviv has been accused of ordering its soldiers to kill hostages rather than allow Hamas to use them in negotiations, a policy long known as the āHannibal Directive.'"