There is no definitive answer. It's very subjective and depends on many social influences and life experiences of the individual. But one trait often associated with men who struggle to get a girlfriend in their younger adult years is being introverted and lacking social interaction with women.
If a guy hasn't dated much or interacted with women socially, he might not pick up on certain cues that would help develop a relationship past the first date.