Yes, changes in social conditions contributed to the development of religious movements like bhakti, sufi and sikhism. During the medieval times, both Hinduism and Islam became increasingly ritualistic. Common people like farmers and traders found it difficult to adhere to such rituals. This contributed to the rise of the new religious movements which emphasised more on devotion and piety and rituals.