Quote from link :
The IDF Took Away Weapons From Gaza Border Communities in Recent Years, and Armed West Bank Settlers in the Thousands
"The Israeli army believed that the chance of terrorist incursion after the erection of the border fence was 'close to nil.' They removed forces from the area, leaving local security as the last line of defense. 'As much as we banged on the table, it didn’t help,' says one local security coordinator."
https://www.haaretz.com/israel-news/2023-10-20/ty-article/.premium/idf-took-away-weapons-from-gaza-border-towns-and-armed-w-bank-settlers-in-the-thousands/0000018b-4d6d-dbe0-a38b-cdfd0d4f0000