The main considerations were religious and economic. The Mughals wanted to ensure easy access to their traders and pilgrims in areas under Ottoman Turks. They especially wanted to ensure freedom to travel in Hijaz which was part of Ottoman Arabia. Mecca and Medina are located there. The Mughal emperors had both religious and trade interests in these places.