Answer:
Writers were trying to explain the collapse of social and moral order in their society.
Step-by-step explanation:
Philosophical ideas were the basic themes during the medieval period in which the texts were written. Allegory was one of the important and most used figurative languages by the authors of the medieval period. Allegory helped to explore the ideas of spiritual meanings of the narratives. It also provided a shield to the writers from any political or religious persecution.