How come female sperm discolorate clothes?

Females do not have sperm, they have ova (or "eggs") but I believe you mean "female discharge". The reason it discolors clothes, when it does, can be for a variety of reasons. Mainly, it is because it is protein-heavy, and it is proteins that are often responsible for the staining of clothing from foods we eat (and other activities).