[Bleach](https://en.wikipedia.org/wiki/Sodium_hypochlorite) is an oxidizer; it contains oxygen and chlorine ions that react aggressively with organic compounds and even metals. So basically what happens is the pigments that are used to add color to clothes get oxidized (with the oxygen or with the chlorine) and either lose their color as a result, or detach from the cloth fibers.
Latest Answers