Why does my washer keep stopping on spin?

The machine will automatically shut down when it senses the load is out of balance to prevent mechanical damage.