I also find it challenging to put on weight when exercising, but to make this comment more accurate you may want to caveat that this is how your body responds to exercise.
Many people appear to experience a commensurate increase in appetite after exercise such that they do not lose weight unless they also consciously restrict calories.