Purana Jyotisha Sangraha · by Vyasa
Chapter 1 · Konark and Godavari Tirthas
ब्रह्मपुराणम् : गोदावरीतीरे ग्रहतीर्थानि कोणार्कश्च
स्वेष्वपत्येषु चोषाया यमस्तत्र चुकोप ह ।वैषम्येणाथ वर्तन्तीं छायां तां मातरं तदा ॥ १५ ॥
From the Brahma Purana, print ch 89, verse 15.
The shadow treated her own children and Usha's unequally. Yama grew angry then at that shadow, his mother in name, for treating them so.
Simple meaning: The shadow treated her own children and Usha's unequally, and Yama grew angry at her.
ताडयामास पादेन दक्षिणाशापतिर्यमः ।
Yama kicked the shadow in anger, and she was upset by her son's conduct.
शशाप पाप ते पादो विशीर्यतु ममाऽऽज्ञया ।
The shadow cursed Yama's foot to break apart, and Yama told his father the story.
नेयं माता सुरश्रेष्ठ यया शप्तोऽहमीदृशः ।
Yama says this cannot be his mother, because a mother never grows angry with her children.