Sulfur was key to the first water on Earth