Why do the hair of a shaving brush ding together when taking out of water?

When the brush is taken out of water, thin water film is formed at the tips of the hair. It contacts due to Surface tension and so the hair ding together