who made the great lights—Before the sun, there was light. Before any of the stars were made, there was light on this earth. There were plants basking in that light and oceans reflecting that light.
His love endures forever.
Then, once it is clear that this earth is dependent on God and God alone and that even though we are not the physical center of anything, we are the focal point of His creation... He makes a Sun and a moon and stars to fill up that vast expanse of sky.
Did He make the "great lights"? Yes, just to declare His glory and to let us know that His love endures forever. When you look at creation, and you marvel at God's abilities, don't stop there. Remind yourself why He created all of this.