Muhammad fled from Mecca to Yathrib because the people who controlled Mecca didn't like Muhammad's practicing's.