I agree that this is something men lack, and i would add that a lack of third spaces, a tendency towards societal atomization by long work hours, individualist culture, overemphasis of the nuclear family and other consequences of late stage capitalism greatly contribute as well, but when you look at statistics about lonelyness, there is actually very little evidence that men are more likely to be lonely than people of other genders. There is a lonelyness epidemic, but it's not specifically a male one. In fact, there is a bit of evidence that women are more likely to be lonely, even if you correct for compounding variables (like longer life expectency which means there's more old women who have outlived their husband than old men who have outlived their wifes).
And i've seen articles about the "male lonelyness epidemic" that fully acknowledge all this and then without explanation go on to say that women should show men more affection because they can't do that with each other, while not adressing female lonelyness at all, or why they think that there's an obligation of women to do unpaid emotional support labor for men to fix a societal ill. On supposedly leftist news sites. You can't make this shit up.
In my opinion, the actual reason that there is this entire male lonelyness epidemic discourse is that in our society, men's feelings are valued more than the feelings of women and people of other genders.