The problem is when the exercise is excessive and/or the depression is caused by stress/overload. In that case the exercise can lead to burnout/CFS/overtraining, resulting in worse depression as well as debilitating physical symptoms.