It makes sense to me, as the article also points out, being more optimistic might indicate lower levels of stress. And (prolonged) stress has been known for a long time to be detrimental to health.