Try to think as an army for just a second. When you send your troops into unknown territory which is 100% trapped, you wanna confuse your enemy. And shutting communication is exactly that.
It absolutely fails at hiding what’s going on in Gaza from being revealed, but it *50% succeeds in making their enemies blind during their attack. It’s just a military tactic. A proven and effective one.