Look out the window at both sunrise and sunset. The moon, apparently, does the same thing. I say apparently because the effects are caused by the earth’s rotation and not the motion of the sun; the issue of the moon’s orbit is a tad more complicated.
Notice that we are leaving the easy part for you to research.