Because they both probably are. But that does not change the fact that Genesis has a dark earth and water (or deuterium, which, as everybody knows, is the same as water) before there were photons.
[2] And the earth was void and empty, and darkness was upon the face of the deep; and the spirit of God moved over the waters. [3] And God said: Be light made. And light was made. [4] And God saw the light that it was good; and he divided the light from the darkness. [5] And he called the light Day, and the darkness Night; and there was evening and morning one day.
Ok, the earth was void and empty. it was not created fully.
…darkness was on the face of the deep;
…fine, the universe expanded from an infinitesimally small point of light into what? the non-light, darkness of nothing, stretching away into the deep infinity?
The Spirit of God moved over the waters, as you say - over the deuterium after 3 minutes and before 20 minutes were gone by.
And God said let there be light, and light expanded onwards and filled the universe for one million years.
And he divided the light from the darkness, fine - the light he created faded after one million years leaving a transparent universe.
And he called the light Day, and the darkness Night, and light now has a name, day, (it had never existed before), and darkness now has a name, night, (it had never existed before).
…and there was evening and morning one day.