It is known that people with mental health issues tend to take up the habit of smoking by a larger portion than the general population.
I myself smoked for over 10 years, it can be used as a crutch, its something you do to get the feeling of stress relief, however false it actually is.