Sounds like as the load increases the compressor is drawing too many amps and tripping the breaker once it reaches the breaker limit. A couple of causes, not in any particular order.
Compressor is starting to fail.
Loose wire connection somewhere along the electrical system of the compressor. At the breaker, at the compressor etc.
Clogged outdoor coil causing the compressor to work too hard in high heat conditions. Make sure the outside of the coil is free of tree cotton etc. I use a 3" paint brush with the bristles cut short to about 1-1.5 inches to clean the cotton off of my coil. Flush the coil from the inside out with a water hose.
Damage to outside of coil not allowing for proper air flow. May need to comb coil.
There may be a few other causes I am missing.