Hamas committed a direct attack on civilians, without any military target in mind what-so-ever. Obviously this will be a serious crime against humanity in most people’s eyes that makes it harder to count Israel’s response as unwarranted, counting in their wrongdoings.
With the Rus-Ukr conflict, the same country is both the aggressor and the attacker that started the invasion. That makes it easier to see who the undoubtedly “bad guy” is.
Hamas is the aggressor in this specific part of the almost 100 year old conflict, that resulted in the current circumstances.
What genocide are you referring to?