I would guess it also depends on concentration. If you're at the gym exercising a specific muscle group, you could over-exert that muscle easier than generic overtraining while playing a sport.
This makes sense, but I believe it’s incorrect. Overtraining is a fairly serious condition that can take months to recover from, not generic over-exertion of a specific muscle group that requires days of rest.