A new theory to explain the origin of water on Earth