good read on this topic. It's more than just a boring bioptic, it's about a society living in a gigantic concentration camp where everyone gets inevitably arrested for falling a foul of the guards for years and years.
To your point, Israel lost control of the cities and could not simply retake them so they had to level them. That's expensive, it takes time and munitions, and the zones they occcupied become insurgencies. Israel is going to hell for what it did to the Palestinian people, the whole world knows they are butchers now