
Put years on somebody
Emotional Impact
The phrase suggests a negative change due to stress or trouble, affecting someone's appearance or mental state. 
Not Literal
It doesn't mean actual aging but a perceived increase in age because of life events. 
Hyperbole
Often an exaggeration, not to be taken as a precise measurement of age. 