L'Oréal Interview Question

during the technical interview: explain why adding salt increase the viscosity in a shampoo formulation.