Sounds like a phase wire or motor coil wire is shorted to the frame, and the frame is grounded to battery negative.
Most common cause is if it has been crashed or fallen over, and it has exposed motor / controller wiring, that wiring can get damaged in a way that shorts phase wires to the frame or axle, especially if it is a hubmotor and wires come out the end of the axle.