Ah, however, planets were created all from nebulae (Yes, mebulae, not nebula). As with the Sun, as well with the universe (Big Bang Theory coming from a different perspective), it was created when particles and atoms rubbed together, and caused a specific discharge, causing a massive explosion, forming these nebulae from the start. Meaning, that without no friction, there would be no sun, meaning that if the explosion never happened, there wouldn't be any sun to 'create' this water.So technically, the explosion itself was the resource.