The Hamas attacks were atrocious. But as has been stated by the UN, the attacks “did not happen in a vacuum…The Palestinian people have been subjected to 56 years of suffocating occupation.”
If I saw first-hand my friends, generations of relatives and brethren be murdered, exiled and oppressed by Israel for decades I’d be pretty angry too.
Distance, denigrating and othering of Palestinians is key here, to paint them as barbarians. I doubt many on this thread have ever even met a Palestinian, though they would have met Israelis.