According to mainstream science, the moon gets its light from the sun:
The moon shines because its surface reflects light from the sun. And despite the fact that it sometimes seems to shine very brightly, the moon reflects only between 3 and 12 percent of the sunlight that hits it.
This statement omits ignores light from the earth:
When you look at a crescent moon shortly after sunset or before sunrise, you can sometimes see not only the bright crescent of the moon, but also the rest of the moon as a dark disk. That pale glow on the unlit part of a crescent moon is light reflected from Earth. It’s called earthshine. 1
Light reflected by the moon is actually a combination of sun light and earthshine. Therefore an accurate statement about the light from the moon must differentiate that light light from the sunlight:
Mark 13:24 (KJV) But in those days, after that tribulation, the sun shall be darkened, and the moon shall not give her light (φέγγος),
Matthew 24:29 (KJV) Immediately after the tribulation of those days shall the sun be darkened, and the moon shall not give her light (φέγγος) and the stars shall fall from heaven, and the powers of the heavens shall be shaken:
Revelation 22:5 (KJV) And there shall be no night there; and they need no candle, neither light of the sun (φωτὸς); for the Lord God giveth them light: and they shall reign for ever and ever.
The word Jesus used is not the normal word used for light: Jesus described the “light” from the moon differently than the “light” from the sun.
The word Jesus used for light from the moon, φέγγος, is unique in the Bible in that it is only used in these two verses. There is there no basis for equating φέγγος with the light from the sun:
Light from the moon: [G5338 - φέγγος]
Light from the sun: [G5457 - φῶς]
Note: