It seems like it was the surrounding Arab states that caused the problem, rather than the Palestinians themselves. It looks like all those states fancied taking a bit of land for themselves.
I disagree, some of the surrounding Arab States were happy (imo) to let some land go to free themselves of a burden (Palestinian people).
When Israel declared statehood in 1948 the Arab inhabitants had been offered the same deal under UN resolution 181, split the land in 2, mutual cooperation, live in peace, blah blah blah, the Arabs declined the offer, they were only prepared to accept 1 state, without any Jews in it.
24 Hours after Israel declared Statehood they were invaded by 5 Arab countries, after 12 months the Israelis won the war. In that 12 months the Nakba occurred where 700-800,000 left Israel. Some reports will say they were all expelled which is nonsense, some were, maybe up to 200,000 but the majority left or fled on the instructions of the surrounding Arab countries to flee for their own safety, so they could return after the war when the Arabs succeeded in crushing Israel.
For the next 18 years Israel flourished in the land it been allocated, the Palestinians were set up in refugee camps in Jordan, and also settled in what we know as the West Bank and Gaza, the West Bank was under Jordanian control and Gaza was under Egyptian control, depite the areas being the suggested designated areas for Palestinians under UN res 181 neither Jordan or Egypt suggested or sanctioned these places as a Palestinian homeland, instead, they kicked it all off again in 1967, Israel again defeated the invaders but this time held on to both the West Bank and Gaza. The Arabs invaded again in 1973, blah blah blah, several infitadas, thousands of rocket attacks funded by Iran and the eventual invasion of Israel (again) on October 7th.
If you can find a solution to that lot you're a better man than I am.
Remember one thing, the PA are still currently not prepared to accept the existence of Israel and Hamas sure as hell aren't, the PA are happy to pay Palestinian citizens to kill Israelis, and Hamas will not release the hostages, and the 'West' have just sanctioned that this week with their 'meaningless' recognition of a Palestinian state.