Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
यदि गर्भं जहातीह गृह्णामीत्यब्रवीत्पुनः ।गर्भे मया पुनस्तत्र त्याजिते मुनिसत्तमाः ॥ २९ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 29.
He said again, "If she gives up the child here, I will take her." Then I had the child given up, O best of sages.
Simple meaning: The text says Jupiter agreed to take Tara back if she gave up the child.
कस्यायं च पुनर्गर्भस्सोमस्येति च साऽब्रवीत् ।
The text says Tara named the Moon as the child's father and Jupiter took her back.
एवंविधानि चन्द्रस्य दुश्चरित्राण्यनेकशः ।
The text says Brahma felt there was no need to list more of the Moon's wrong deeds.
यज्जातं तत्सुसंजातं नान्यथा भवति ध्रुवम् ।
The text says Brahma will now give a remedy.