G-d made the two great Luminaries. This is the Sun and Moon. The great Luminary to rule the day and the lesser luminary to rule the night.
According to Rashi the Sun and Moon were created equal. The Moon came to HaShem and said you can’t have two Kings to share a crown this is not correct so one of us should be made smaller. G-d said okay you the moon will be made smaller.