In hard water soap forms scum Hard water contains calcium and magnesium ions, soap first reacts with calcium ions to form calcium stearate and then magnesium stereate.which is called scum. Detergents cleaning action is different from soap hence it don't forms such scum.