That's because a compressor has an odd property... The motor requires substantially more starting torque than running torque. That's because the cylinder can be stuck on the compression cycle pushing against a cylinder of gas, and has no momentum to get it through. Also, the very first compression typically has far more gas in it (because the 'cold side' is actually warm before it starts).
If nothing were done to compensate, the motor would stall, overheat, and burn out.
Designers of fridge compressors have instead added a very high current starting coil, which will provide massive amounts of torque to get the thing going for a few seconds. Sometimes that might be 20 amps or more for a few seconds. When the motor is spinning fast enough, that coil gets disconnected.
Not sure if that applies to newer systems.
On most air conditioning compressors today, a scroll plate compressor is used, which doesn't have the unloading problem of the piston type of compressor.
Just replied to the same comment wondering if this has changed. I used to help my dad install residential and commercial HVAC systems and all of the compressors back then were piston type. I would tick him off by getting impatient when we were testing by calling for cool too soon after shutting it down and tripping the thermal beaker. (Come on dad it's hot up here!!! lol)
I imagine the scroll type are probably quieter as well and probably work nicely with inverter-based drives.
I did go back and look that there are sometimes valves used in scroll AC compressors. Even with that the full compression cycle is much more gradual, and continuous happening over ~3 revolutions of the compressor instead of half a revolution for a piston so there's not a slug compressed gas to hold the compressor back in the same way as a piston compressor.
This pages has some diagrams that shows the spiral plates and compression cycle pretty well. https://www.sciencedirect.com/topics/engineering/scroll-comp...
Isn't part of what makes these work also linear compressors? The old on/off models have gotten better over time, but when we were kids, some of them would practically cause brownouts on the electrical circuit. Too much startup current. So for electronics you need someone with a smoother transition.