it's not the ONLY reason. there's also just the fact that historically in pre-state palestine, arabs lived in certain villages, and jews came and created their own villages. and people tend to stay put.
Greek police say bust internat'l migrant smuggling ring, arrest 12 (Reuters)
from the article: Schools for Jews and Arabs: Separate but definitely not equal