I suspect we are all smart here on HN, and probably know there is a longer backstory, dating back decades: Israel attacked Palestine after Hamas attacked Israel after Israel attacked Palestine after Hamas attacked Israel after Israel attacked Palestine, etc, etc.
More to the point, both russia and Israel have engaged in occupying another country, displacing residents, saying the land should be theirs, repressing civilians, employing sexual violence and other torture, killing resisters, and that's all before Oct 7.
Indeed, both present the same pretextual justification for doing all this: the occupation, displacement, repression, sexual violence, torture, and killing we see from russia and Israel are all allegedly for self defense, and because they claim the land was theirs at some point in the past.