I've been hearing and reading that Hamas acted at this time in order to thwart a potential Israel - Saudi Arabia peace agreement. Apparently Iran is afraid that this would lessen their power in the middle east, and thus has backed action to goad Israel into war.
I'm not going to say much more than that, as I am far from being an expert on politics/religious strife in the area, but I'm reading a lot of simplistic judgements in this thread that don't seem to tackle the complexity of this situation. There's a lot more going on than meets the eye, but we seem to get stuck on specific details intending to place blame on one side or the other for specific acts that don't speak to the big picture.
Over and above that, just speaking for myself as a Canadian citizen, I am starting to resent protests being brought to our streets attempting to influence opinions on religious wars that have been going on for as long as people have existed there. I am empathetic to the plight of Palestinian people who have been used as pawns in a terrorists' organization whose goal (as stated by their own leadership) has been to eradicate Jews and take back Israel. It's horrible what is going on there, but when every protest I've seen on television has people holding signs that, in effect, say 'give back Gaza to Paletinians', it purveys the idea that the protests aren't about stopping the killing of innocent civilians, but about stepping up the hostilities - fighting a larger war.
The two-state solution, that was being worked on for some decades is a larger issue that would only be able to happen with the elimination of Hamas, and a change in Israel's leadership. Inserting provocative signage into a protest that is supposed to be about protecting innocent civilians shines an entirely different light upon the purpose of the protests. IMHO.