In my view, Genesis talks about them because of their theological implications, not physical order of creation. In that time, the Sun and Moon were worshipped as gods in the society they lived in, to the extent that that then, as now, they took their names as gods. The point made was that they were created entities, created by the one God, and not god’s themselves. One indication of this is that were not called Sun and Moon or whatever words their culture gave them as gods, but rather described as lights to emphasize that point.
6 Likes