Volume on Mac increases automatically when earphones plugged in
Sounds like you have headphones with volume controls and either they volume up bottom is jammed/broken, or they're not compatible with macs... The first one is my guess. The second one is rare.