Overly reductive take. And whitewashes the massacres that Israel perpetrated in the civil war prior and during the war in 48. Many fled for fear of being killed by Israeli forces or were actively removed from their land.
Even the wiki states so: https://en.m.wikipedia.org/wiki/1948_Palestinian_expulsion_a...