Anakin was removed from his mother and inducted into a cult at the age of 8. Then when he went back to find his mother it was to find her tortured and dying.
Kylo was raised by two loving parents.
Now I'm going to assume that Han Solo left both Kylo and Leia to go off and do cowboy things because Leia being a leader and all that was stifling his frontier ways. She says she sent him away to be trained, presumably Han had already taken off. Probably she didn't have enough time to give him the one on one attention he needed. Both Han and herself were very confident people, if he was socially challenged they may not have understood what his needs were since they did not relate to them personally.
I assumed Han left Leia after Ren succumbed to the Dark Side and slaughtered his classmates. Plenty of parents get divorced after a tragedy strikes their child and rips the family apart.