Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
ब्रह्मापि तद्वचश्श्रुत्वा विस्मयं परमं ययौ ।शिवमायां सुप्रशस्य श्रावयंस्तानुवाच ह ॥ २३ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 23.
Brahma too, hearing their words, was greatly amazed. Praising Shiva's maya, he spoke to them as they listened.
Simple meaning: The text says Brahma was amazed and began to speak.
अहो कष्टं महज्जातं सर्वलोकस्य दुःखदम् ।
The text says Brahma called the curse a great trouble for the worlds.
सर्वं दुष्टेन चन्द्रेण कृतं कर्माप्यनेकशः ।
The text says Brahma began to recall the Moon's old deed.
बृहस्पतेर्गृहं गत्वा तारा दुष्टेन वै हृता ।
The text says the Moon once took Jupiter's wife Tara.