Justify? Probably not. Explain? Most definitely. The state of Israel is the only thing that benefits from Hamas.
I think there’s more to it than Israel being oppresors. There’s plenty of internal oppression like Islam being the most oppressive religion on the planet to start.
Here’s the thing: the Zionist movement (as opposed to Jews, generally) has the stated aim of “removing” the current population of Palestine and refilling it with people of a different ethnoculture. The only thing that all Palestinians can currently agree on is that the Zionist policy of Lebensraum (yeah - I said it) must be stopped. Some people only have the clothes on their back and the rubble under their feet. At that point you’ll join with anybody to remove the genocidal apartheid yoke of the oppressor. The inevitable infighting can wait until the external aggressor is defeated. A complete human tragedy for millions is the result. Both sets of lunatic religious extremists making misery for the people in the middle.
The existence of Hamas, and any armed resistance movement, is directly due to the decades of violence experienced daily under the permanent occupation, the Apartheid State, of Israel. It’s impossible to understand their existence if you don’t understand the lived experience and material conditions they are forced to live under. Can you condemn the violence of the Warsaw Ghetto Uprising in the same way as the violence of the Warsaw Ghetto?
In the Shadow of the Holocaust by Masha Gessen, the situation in Gaza is compared to the Warsaw Ghettos. The comparison was also made by a Palestinian poet who was later killed by an Israeli airstrike. Adi Callai, an Israeli, has also written on the parallels in his article The Gaza Ghetto Uprising and expanded upon in his corresponding video