How do ceramic coatings repel water?

Ceramic coating results in a very smooth surface so that there is very little for water to stick to. It is easier for water to stick to its self than stick to the ceramic coating. The result is that the water beads up. This is a feature of the structure of a ceramic coating as opposed to a freshly waxed car where the wax coating will contain lots of oils which are chemically hydrophobic.