"Those who make peaceful revolution impossible will make violent revolution inevitable."
This is the ugly side of that. Hamas are a vile organisation full of hateful antisemites. They're also the inevitable result of every decision Isreal has made in Palestine. When people are being violently oppressed every day of their lives, that fosters hatred. When people have nothing left to lose, that fosters violence. When people have been abused for generations, they inevitably want revenge.
It's a disgusting double standard to forgive Israel's crimes, but demand that the Palestinians be perfect little angels who never feel any resentment or anger in their hearts.
In the end, it's not about who has done right or wrong, it's about who holds the power, and that has always been Isreal. So it is Isreal who bears the moral responsibility to end this conflict peacefully (and the western world supporting Isreal bears an equal responsibility to use our power to make that peace the most appealing option).