Or, counterpoint, they knew.
Either it was a case of the information not getting to the right people, or the right people wanted the attack to happen. After all, a very public and horrific attack justifies a lot of sadistic level disproportionate response, and said sadistic level disproportionate response gets the base riled up to vote for you again.
Or, counter-counterpoint, everyone and their dog knows that Israel is spying on everyone and their dog, so all communications by people planning this shit are kept to in person or paper. Anything that has to be transmitted electronically likely is said in code phrases that are agreed on in person.
The truth is likely a combination of all of it.