I think in general, people need to feel connected to each other and they do that by listening to other's experiences and relaying their own. Sometimes it can get out of hand to where, like you say, they end up rambling on about themselves, but, thats life and thats how people are (especially in certain parts of the country). I'll usually just zone out or cut the person off and move on to something completely unrelated like nothing happened.