Noise comes and goes. Loose parts, failing capacitor, or contactor.
The capacitor provides the electrical 'kick' needed to start the compressor; without it, the motor won't turn.
Electrical arcing can 'weld' the contactor shut, causing the outdoor unit to run constantly.