On the Israeli side the reason Netanyahu and most Israelis object to a Palestinian state is that it's clearly just going to become a base for launching attacks on Israel, just like Gaza. Palestinians don't want a two state solution, they want to destroy Israel. They say it explicitly in every survey. Go watch videos on YouTube of Palestinians in the west bank interviewed about this question prior to Oct 7th.