Noises come and go. Loose duct, drain gurgling, or failing capacitor.
The capacitor provides the electrical 'kick' needed to start the compressor; without it, the motor won't turn.
Algae and dust can block the drain, causing water to back up and trip safety switches.
Gaps in the ductwork allow conditioned air to escape into unconditioned spaces like attics.