I agree. While I'm not a military or national security person, I have to believe that there would be some better solution without committing genocide/ethnic cleansing and crimes against humanity.
I don't think there was a feasible alternative to an all-out war in Gaza, and I definitely reject the "genocide" label. And while some Israeli politicians have advanced the idea of ethnically cleansing Gaza, nothing like that has been implemented. And speaking of ethnic cleansing, it is the Arab world that ethnically cleansed to become virtually "Judenrein".
Btw, Gadi Eisenkot, the likely next prime minister of Israel is the son of Moroccan Jews.
But I forgot: A dozen Arab ethnostates (plus Afghanistan, Pakistan and Iran after the ayatollahs took over) ethnically cleansing Jews is fine, but the very idea of Zionism is "racism" </progressoauthoritarian>
Something that doesn't include killing 50,000 people and dislocating 2 million people.
Why not? War is hell, precisely because people, including innocent people, suffer and die. Actions have consequences, and this was not a war that Israel started. It was started by Gaza, and not just Hamas; other factions such as Islamic Jihad and PFLP also participated.
Option A: Hamas attacks and kills something like 2000 people and Israel does not retaliate
Option C: Hamas attacks so Israel kills 50,000 people, 75% women and children, and dislocates 90% of the civil population
Correction: some ~75k people. And 50% women and minors (many of whom are themselves combatants, another war crime by Hamas etc.) as opposed to 75% women and minors in the population. That means that women and minors were significantly underrepresented among fatalities. A disproportionally high number of fatalities has been military age males, say 15-45 or so.
What was a good option B? I don't know. But I'm no expert. But there has to have been other better options than genocide.
There is no "genocide". But the high number of deaths is to a large extent due to Hamas et al operating from civilian areas.

A missile is targeting a Hamas rocket launcher placed amidst tents in the Al Mawasi civilian area. Note that the people were warned, which is why they were able to set up cameras (two angles, this is a still from a video).
The tunnel from which Mohammed Sinwar, Yahya Sinwar's brother and successor was operating when he was eliminated. The emergency department entrance of the European hospital is also visible.
Mohammed Deif, another Hamas leader, met his end here. Note that he had a large quantity of explosives there (see the secondary explosion) amidst all the tents in Al Mawasi.
I am still for a 2 state solution. I think that Israel has the right to exist. I also think that the Palestinians have the right to have a state also. But Israel is hell bent against a two state solution.
I am also for the two state solution. But that has to be earned. Countries recognizing "Palestine" in the aftermath of 10/7 was about the worst thing that they could have done - it amounted to rewarding them for starting a war of aggrression.
Palestinian areas were given a degree of autonomy under Oslo. What followed is Arafat rejecting the peace and land swap offers that would have led to a Palestinian State. Instead, Palestinians started the "Second Intifada" where they blew up many buses, cafes and restaurants, murdering many civilians.
In 2005, Israel disengaged from Gaza, giving them even more autonomy. What did they do with it? They started shooting rockets into Israel pretty much incessantly, and all that culminated in the 10/7 attacks.
So, obviously, Palestinians are not ready for their own state. First, they need to demonstrate that they are ready to live in peace.