That's a valid point. The parent one is not. My beef is with atheists criticizing the irrationality of religion and then being as irrational as what they criticize.
Light in a general, diffuse form started to penetrate the atmosphere at some point (this is the "creation" of light at 1:3). Then there was an expanse created to form a division between water below and those above. For an observer on earth, light would have only gradually penetrated the waters above as they formed into clouds. Eventually, the sun and moon and stars, and their motions, would become visible (1:14-18)
I was of the understanding that the opening statement covers the entire universe, and the rest of the explanation covers the formation of the earth from the perspective of someone on the earth. That will explain why the sun and moon only become visible later.
You take this stuff too literally. It's a story from a time when people were just starting to wonder what everything was made up of, and lacked our current understanding of the world.