The study doesn't seem to try to distinguish cause and effect. It may be that people who feel better are more likely to go for coffee. That issue comes up quite often in alcohol studies - if you plot alcohol consumption against health the people who drink quite a lot are amongst the healthiest but the effect there is pretty much that drinking is fun but you have to be healthy to take it.
replies(2):