Hamas probably thought they would get a reaction like this, but why do you insist on only looking at this problem as though it began in October this year? Why not go back further?
Zionist terrorist gangs have been active in this part of the world since the middle of WW2 and before Israel existed. There were two or three large groups, the best known of which were the Stern Gang, and they were bombing roads, railways and bridges etc and also attacking the British and assassinating our diplomats. They even appealed to the Axis countries (Germany, Italy and Japan) for assistance. That's right, terrorist organisations that purported to represent the Jewish aspiration for a national home were appealing for help from Nazi Germany in their attacks on the British at the very time we were embroiled in war with the persecutors of Jewish people in Europe.
What Hamas did was terrible but do you not think that these Zionist groups and then Israel itself with the way it treats Palestinians have not created the conditions for Hamas to exist? As Superstu pointed out, if we were invaded and pushed into a corner of Scotland we would rightly react.