This is because people directly walk towards the sink after using the toilet and taps are usually the first things that they touch to wash their hands. Always use a liquid soap to wash your hands after using public toilets and if the taps do not close automatically, use tissues to turn the knob.