Washing machine is soiled.
Run a 205°F (95°C) wash program and add some machine cleaner.
Make sure that you wash at a temperature of at least 165°F (75°C) at least once a month.
Do not use color detergent or liquid detergent all the time. Alternatively, add bleaching agent regularly.