Water may be generated on the moon as the result of high-energy electrons bombarding the lunar surface as it passes through Earth’s magnetic tail.
High-energy electrons in Earth's magnetic tail may form water on the moon
Source: space
Source Link: https://www.space.com/water-moon-electrons-earth-bombardment