It used to be public health recommendation (bathrooms in commercial buildings will often only have warm water, for example, because code required it).
There's been studies demonstrating that soap is what matters.