Just wondering

Genesis Chapter 1, Verse 16: “And God made two great lights; the greater light to rule the day, and the lesser light to rule the night: he made the stars also.”

But half the time, the lesser light, the moon, is in the daytime sky.