Compound that with the fact that the IOF is a serious paper tiger. They can claim they're the most disciplined army in the Middle East or whatever as much as they want, but video footage shows an army in disarray, shooting at their own, not practising the most basic amount of safety. Remember the video from a few years ago of an IOF soldier picking up a flag someone planted on the Gaza border fence and just casually bringing it up to his mates before it exploded in his hands? All they know is to terrorize civilians, once the civilians start shooting back they don't know what to do.
The fact that several Zionist military facilities were overrun by Hamas on the first day in a state of complete surprise speaks a lot to this. Any half competent military should have sentries, patrols, etc. The fact that the Zionists were just sleeping and completely dependent on their alarm system is wild to me.