Yes, I agree. But after 1,500 Israelis were murdered what else could Israel do? Under any government. 1,500 is the equivalent of 110,000 Brits being suddenly murdered, and Isrealis, from the far left to the far right will not forget this easily.
Israel's current government is obscene. But it was democratically elected, and if it was elected it is also due to the failure of Israel's left and centre to convince the voters. I spoke this spring to a lady who is the former secretary of the Israeli Labour Party (a tiny shadow of what it once was, I think they only got 2 or 3 MPs) who told me they had refused to merge into one of the more central parties because it would have undermined their traditional identity and political principles. So Bibi&Co. got elected.
So Bibi and the imbecile Ben-Gvir did things, like repeated visits to the Dome of the Rock, that angered not just Palestinians, but Musilims all over the world, laying the perfect groundwork for Hamas to murder 1,500 civilians and then call on Musilims all over the world to join the holy war.
You mention a political solution. I am pessimistic. Hamas will soon run out of missiles, Egypt (which refuses to let anyone of of Gaza) will mediate a ceasefire, Israel will reinforce its defences north and south and claim Hamas has been all but destroyed, Hamas will announce a "Great Victory" over the Zionists. And we are back to square one.
Certainly the US can apply pressure. But what kind of pressure will Iran, which controls and finances Hamas, apply? What about Lebanon, Syria, Egypt, Qatar, Saudi Arabia? How many of these countries, Israel's neighbours, can ensure peace and stability within their own borders, let alone collaborate towards a peaceful settlement with Israel? How many of these countries would really support the creation of a Palestinian state?
I don't know the answers.
As I say, I am not optimistic.