This particular event “started” with the firing from Gaza of an anti-tank weapon at a partially armored jeep on the Israeli side of the border fence. It was described as retaliation for the killing of a boy in an air attack some days earlier. But probably the timing of the action was accidental — the opportunity just presented itself.
The success gave rise to demonstrations of joy and pride in Gaza. Again Palestinians had shown their ability to strike at the hated enemy.
However, the Palestinians had in fact walked into a trap prepared with great care. Whether the order was given by Hamas or one of the smaller, more extreme organizations — it was not a clever thing to do.