Śrīmad-Bhāgavatam · Text 9.20.37
Who is speaking and story frame
तं त्यक्तुकामां ममतां भर्तुस्त्यागविशङ्किताम् ।
नामनिर्वाचनं तस्य श्लोकमेनं सुरा जगु: ॥ ३७ ॥
taṁ tyaktu-kāmāṁ mamatāṁ
bhartus tyāga-viśaṅkitām
nāma-nirvācanaṁ tasya
ślokam enaṁ surā jaguḥ
Mamatā very much feared being forsaken by her husband for giving birth to an illegitimate son, and therefore she considered giving up the child. But then the demigods solved the problem by enunciating a name for the child.
Read Śrīla Prabhupāda's purport on Vedabase.io