GE washer

My washer turns on for a short time then clicks off. The GFI outlet also clicks off. What could be the problem?

Look for a bare/shorted wire to start with.
Nat

could be a motor two Ge switched to a different style motor with a control board on the motor it may also have an LED flashing a code