Moses was not the only one to insist upon exemplary punishment of the horde of Korah. Sun and Moon appeared before God, saying: "If Thou givest satisfaction to the son of Amram, we shall set out on our course around the world, but not otherwise." God, however, hurled lightnings after them, that they might go about their duties, saying to them: "You have never championed My cause, but not you stand up for a creature of flesh and blood." Since that time Sun and Moon have always to be driven to duty, never doing it voluntarily because they do not wish to look upon the sins of man upon earth.
Moses — Korah's Transgression
Legends of the Jews 5:18