Different stains need different, even opposite, treatments, and the wrong one can set them. Why rubbing spreads a stain, hot vs cold water, fixes by type.
The reflex on spotting a stain is to rub it. Rubbing pushes the substance deeper into the fibre and widens the affected area at the same time.