Excess detergent was used.
Follow the detergent manufacturer’s dispensing quantity recommendations.
Follow the operating instructions for the washer-dryer.
Take the water hardness into account.
Take the degree of soiling into account.
Reduce the quantity of detergent in stages.
For washer-dryers with automatic detergent dispensing: check the dispensing settings.