Shortly after the state of Israel was founded, the vast majority of Persian, Yemenite & Moroccan Jews did in fact immigrate to the historic Jewish homeland. The lion's share of Persian Jews now live in Israel, not Iran.
Why did a small percentage of stragglers stay behind? Probably because...