Because Isreal zionest closed off all diplomatic options and were slowly starving and bombing Gaza and the Westbank citizens into Extinction. Not excusing what Hamas did/does, but the extremist have a compelling argument to a starving and dying population. Also, Isreal holds thousands of Palestinians as hostages even before Oct 7th but Palestinians have no military or international rights to fight back.