While I agree that wars have territorial consequences, I do not think that justify destroying people's houses, asking them to move away and deal with it, and then in 5 years going and destroying their houses again, and asking them to move away and 'die in peace'. In meanwhile, building nice villas for the settlers in the land of other people, and then pretending that all they want is to live in peace.
I mean, it just doesn't work that way. If you want a normal life (like in the West), you are supposed to have a normal behavior. What Israel has been doing with their settler policy is far from civilized, so of course, there is occasional payback they get.
Don't get me wrong, I think Hamas are far worse. If they could, they would kill every Jew. However, Israel's behavior has been feeding their hatred (and vice versa). So in the end, Israel cannot get both all the land and the peace, unless they do a similar genocide that the Nazis did on them, which understandably they are reluctant to do. And unfortunately, they chose land over peace, a lot helped by Palestinians non realistic demands (who also are not interested in peace at all).