Question: why was the qibla changed from jerusalem to mecca?
Answer: Soon after Muhammad's emigration (Hijrah, or Hegira) to Medina in 622, he indicated Jerusalem as the qiblah, probably influenced by Jewish tradition. When Jewish-Muslim relations no longer seemed promising, Muhammad changed the qiblah to Mecca.