You may have used too much detergent. HE detergents are highly concentrated, so be sure to check the usage instructions. Run another cycle without soap and add fabric softener instead to help disperse excess soap from clothing
Avoid over soaping. ¼ cup of liquid detergent is usually all you need, but check packaging. If using a pod, place in drum NOT the dispenser, and load before adding clothing.
¼ cup should be all you need, but check the detergent label. Excess soap can damage the machine, leave clothes dirty, and even leave them wet.