Śrīmad-Bhāgavatam · Text 10.9.23
Who is speaking and story frame
पुरा नारदशापेन वृक्षतां प्रापितौ मदात् ।
नलकूवरमणिग्रीवाविति ख्यातौ श्रियान्वितौ ॥ २३ ॥
purā nārada-śāpena
vṛkṣatāṁ prāpitau madāt
nalakūvara-maṇigrīvāv
iti khyātau śriyānvitau
In their former birth, these two sons, known as Nalakūvara and Maṇigrīva, were extremely opulent and fortunate. But because of pride and false prestige, they did not care about anyone, and thus Nārada Muni cursed them to become trees.
Read Śrīla Prabhupāda's purport on Vedabase.io