The soap acts as a 'wetting agent' in non scientific terms it makes the water 'wetter'. As said, it reduces the surface tension.
Those of us who used to develop our own film negatives will remember...