A solar eclipse is when the moon comes between the sun and the earth. So the moon blocks the sun. A light, passing in front of another light will block the other light, however, it is the light of the one that does the blocking that you will be seeing. If the moon had it's own light, it would be seen when in front of the sun. The moon blocks the sun, but the moons' light would have been showing, esp. in the center of it.
The bible just states it is 2 lights. That is what is seen. It does not go into how that light is obtained. With the moon, it does not have it's own light, it reflects the suns'. The effect is still the moon is a light at night.
16 and~he~will~DO(Verb) {וַיַּעַשׂ / wai'ya'as}
Elohiym {אֱלֹהִים / e'lo'him}
AT {אֶת / et}
TWO {שְׁנֵי-1 / shê'ney}
the~LUMINARY~s {הַמְּאֹרֹת / ham'o'rot}
the~GREAT~s {הַגְּדֹלִים / ha'ge'do'lim}
AT {אֶת / et}
the~LUMINARY {הַמָּאוֹר / ha'ma'or}
the~GREAT {הַגָּדֹל / ha'ga'dol}
to~REGULATION {לְמֶמְשֶׁלֶת / lê'mem'she'let}
the~DAY {הַיּוֹם / hai'yom}
and~AT {וְאֶת / wê'et}
the~LUMINARY {הַמָּאוֹר / ha'ma'or}
the~SMALL {הַקָּטֹן / ha'qa'ton}
to~REGULATION {לְמֶמְשֶׁלֶת / lê'mem'she'let}
the~NIGHT {הַלַּיְלָה / ha'lai'lah}
and~AT {וְאֵת / wê'eyt}
the~STAR~s {הַכּוֹכָבִים / ha'ko'kha'vim}
7]
and Elohiym made two of the great luminaries, the great luminary for the regulation of the day, and the small luminary for the regulation of the night, and the stars,