Allah doomed them for their sin and rased (their dwellings). 91:14
Trivia: What was the tenth plague of Egypt?
The moon orbits the earth; it doesn't "follow the sun."
Allah spread the earth out flat like a pancake.