Immediately after the attack, people were suggesting that Israeli intelligence must have had some clue this would happen, and speculated that Netanyahu’s government deliberately let it go ahead as a pretext for attacking Gaza. Now it looks like they did have warning but they just screwed up.