The reason for the revolutionary change in Persian language was the Muslim conquest of Persia in 633 CE and the introduction of Arabic language and culture to Iran. Anything before the conquest was in a language unlike the modern Persian. For two centuries following the conquest, there is little written Persian available, so we don't know how exactly the transformation occurred. What emerged after the two centuries of silence was a language based on Old Persian but with many Arabic loan words and written in a modified Arabic alphabet. This language is comprehensible by modern readers.
It should be noted that comprehensible does not mean easy. Reading old poems for modern Persian speakers is as difficult as reading Shakespeare is for modern anglophones, but it is a far cry from reading Beowulf.