There are many reports in media that the women manning the surveillance cameras made multiple reports to superior officials notifying of weaknesses in the fence and alerting that the Hamas was up to something.
People at all levels explicitly chose to ignore the warnings and consistently assumed the Hamas isn't a major danger. That mentality came from the top.