A girl in black pants doing exercises.
A girl moving her muscles to get exercise in.
Doing exercise implies moving your muscles.
Moving her muscles signifies the girl is doing exercises.
To perform exercises a person must be moving their muscles.