The current Israeli government has espoused their views that Palestinians should not have their own state, that all Arabs are terror supporters who are the enemy of Israel, who should be exterminated or removed. And this was happening regularly long before October 7th. I wonder why some Palestinians don't see Israel as a viable partner in peace or that they feel their only option is to destroy Israel before they are destroyed themselves?
(Imagine the US with Trump in his fifth term of office. Now you have roughly the right picture.)