"Washers that specify “high efficiency” laundry detergent are very sensitive to suds build-up. These washers have a suds sensor that will stop the spin cycle before it reaches full speed if the suds build up is excessive. The result: wet clothes when the washer stops. Using the wrong detergent has a cumulative effect.
Unfortunately, too, the washer does not report any identifiable error to help you diagnose the problem.
If the washer has a “Clean washer” cycle, run the unit through that a couple of times with bleach. If soap has accumulated in the machine, this may help get the washer back to near normal operation. Make sure all of your laundry detergent bears the HE label here on out. And while the cleaning may get you back into a range where the suds sensor doesn’t trigger, you still have a soap build-up problem that may take a long time to clear.
Run the clean cycle at least once per week. (Manufacturer recommends once per month, but you probably didn’t do that, now, did you?). Select “extra rinse” for each normal load, too."