Hamas isn't a government, it's a terrorist group. It's also horrible to Palestinians and it undermines the actual government of Palestine, the Palestinian Authority. There was just an article posted to Lemmy that talked about how Likud (the far right party governing Israel that's undermined peace talks multiple times) helped fund Hamas.
Oppressed people can't "put their guns down" because they're being exterminated. Only the oppressor can stop. If you're really against both Hamas and Israel, then you believe that Israel needs to stop committing genocide. If you're pretending "both sides" are equal, then you're playing the same game Trump said when he equated people waving Nazi and confederate flags witj people trying not to be killed by people waving Nazi and confederate flags by saying "both sides are to blame."
Pretending oppressed people have as much power as their oppressors is the game oppressors use to perpetuate their oppression.