They just didn't realize how real this particular plan was. It's quite likely Hamas is regularly bluffing similar attacks in many potentially-compromised channels. If they then see Israel react, they've received info about Israel's capabilities & tactics – and maybe even ways to misdirect Israeli forces with future feints. And any real plans may stay hidden amongst dozens/hundreds of other "false alarms".
Hence my reference to Hamas' likely chaffing of Israel's intel, and Israel's false-alarm fatigue, before that "surprise" attack.
Of course Hezbollah likely uses similar tactics - but if as deeply pierced as this latest attack implies, they'd have to wonder if any comm successes they thought they had were just Israel leading them on. I doubt Hezbollah has surprised Israel recently!