Once upon a time a very long time ago the sun and the moon were created by a greek good named Gaea.
The sun and the moon are very good friends being that they are around each other all day and every day. The sun and the moon share their time every day and night being they are best friends too.
Hey moon! how was your night?
Hey sun! Good how was your day
There is just one problem...
Have fun see you tomorrow!
You too see you later!
The sun has a hopeless love for the moon because they see each other every day and every night. But during the day the sun sees the moon at one point because the sun cant go for that long without seeing the moon.
For each the sun and the moon to do their job one has to go away for a certain amount of time. The sun goes away each night just for the moon and when they see each other it is because the moon wants to see the people but of course the sun does not mind becasue he gets to see the moon.
Hey there again.
I'll see you later moon!
That is the story behind why Gaea made the sun and moon rise day and night.