Small bodies in the outer solar system tend to be made mostly of ice, for the simple reason that hydrogen and oxygen are the first and third most abundant elements. (The universe is 74% hydrogen, 24% helium, 1% oxygen, and 1% everything else.) So H2O is the most common substance in the solar system that solidifies under normal cosmic conditions.