I wouldn't say that lack of exercise is a factor in causing someone to be depressed because I know some people who don't workout in their life and they are not depressed because they are also engaged in some other outdoor activities that is different from working out.