God created the light first because He is the giver of light. He is the only one worthy of our worship and adoration.