Men and women seem to make friends differently. Men have more of a tendency to make friends through work. The change in work culture can cause these to collapse more easily. It's particularly harsh at retirement. They not only lose their day-to-day reason to go on, but the friendship net that should help them.
By comparison, women tend to make friends independently of work. This makes their friendships more tolerant to changing jobs, or leaving work. Women also seem to be better at maintaining friendships at a distance.
Lastly, there is the (slightly controversial) glass floor. It's the inverse of the glass ceiling. Both men and women have a bias to help women in distress over men. This makes it a lot more likely that someone will step in to help, before the downward spiral gets too deep. This is partially why men make up a large proportion of the homeless.