The Nakba came as a result of the 1948 Arab-Israeli War when Egypt, Jordan, Syria, Iraq and Lebanon invaded following Israel's declaration of independence.
That conflict saw population transfer as Palestinians were moved out and Jewish people were also moved out of neighbouring Arab States.
Had those five Arab States not invaded and tried to strangle the State of Israel ar birth, things may well have been different.
The United Nations' 1947 partition plan should have been accepted by the Palestinians. Since then, they've rejected every possible deal to the point where Saudi Crown Prince Mohammad Bin Salman said they should accept it or shut up.
I wouldn't be surprised if some believe their leaders should have accepted the 1947 plan. Ah, yes...Abbas admitted that in 2011.
Hamas oppose permanently coexisting alongside Israel. Another reason to get rid of them.
As you said, "Every action has an equal and opposite reaction."