One are relatively small scale horrible events within an active full scale war, the other are sadistic attacks aimed at civilians, by crowd that is made of at least half civilians, outside of active war. One is a massacre, the other is a prolonged violence torture and mass raping.
I don't think Israelis are saints, and Israel could and should have acted better in many cases, both for moral reasons and for its own good. I believe a two states solution is the only just and sustainable option, and Israel's share in avoiding it is a terrible mistake. But October 7th wasn't action of people who see the two states solution as a desired state or a viable compromise.