This is just risk and reward at work. People subconsciously fear the consequences of offending someone in the work place, with very little upside most people prefer to just keep it about work and nothing else.
I'm too much of a people-person to survive in the workplace without knowing more about people's lives outside of work. I'd get depressed and quit eventually if I couldn't feel relaxed and chatty with people.