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
You may have over-soaped. HE detergents don’t create a lot of suds, so it’s best to follow the instructions on the packaging for proper usage amounts. Run the cycle again, using fabric softener instead of soap in the dispenser drawer. This will help remove excess soap from the 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.