There are two possibilities I see. Either Israel knew it was going to happen, and let it, or they didnt know. Both are unfathomably irresponsible, and unforgivable.
Israelis should be tearing their own government apart for their ineptitude and/or treason, and likewise, Palestinians should be tearing Hamas apart for being so stupid and impotent.