Why is “الدَّرْسُ” the musnad ilayh in “كُتِبَ الدَّرْسُ”?

ʿIlm al-Maʿānī: Khabar, Inshāʾ and the Purposes of Reporting