I do not know one man over 40 who has been laid-off (and replaced by a 25-year-old) and then found another full-time job. Not. One. This can certainly be a reason for the "ah, screw it" attitude.
Now that you mention it, the three H1-Bs who replaced me were all 25 somethings...