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.
12 Iraqi troops, militiamen killed in multiple ISIS suicide attacks (AP)
from the article: Schools for Jews and Arabs: Separate but definitely not equal