Prisoners of Events
Yuval Diskin's interview linked below implies the Israeli public opinion pressured Netanyahu into invasion of Gaza. Putin's meddling in Ukraine has caused his popularity at home to skyrocket. George Bush got a big boost from his Iraq war. The Iraq-Iran war of the eighties consolidated Khomeini's grip on power in Iran.
Wars are popular, especially at first, before the bills come due. The other side of this is that they are usually easier to get into than out of. Six year's later Obama is still struggling to extract himself from Bush's wars. Putin lately seems pretty unsure of his Ukrainian adventure, but any retreat now might collapse his power at home. Meanwhile Israel continues to ratchet up the bloodshed in Gaza, with very little sign the Hamas is about to collapse.
Can Israel stop short of a reoccupation of Gaza that's likely to be much bloodier and more costly to it and it's reputation? TBD.