Most Arabs left Israel voluntarily during Israel’s war of independence to avoid being caught in a war zone.
Long answer
Thousands of wealthy Arabs left in anticipation of a war, many more responded to Arab leaders’ calls to get out of the way of the advancing armies, a handful were expelled, but most simply fled to avoid being caught in the crossfire of a battle.
Explanation of why and when most Arabs left Israel during the War of Independence