Getting into a fight with Israel will also demonstrate the Hamas leadership's strength compared with a weak and crisis-laden Palestinian Authority.
But Israel, heading into presidential elections early next year, has its domestic compulsions. Hamas's inability to control rocket attacks from Gaza by other more militant factions made it necessary for Israel to respond militarily.