I think this is common and detrimental approach to work relationships-with the exception of small businesses, family run joints of less than 10 employees total.
Work is not for friendships, not true ones. You get along and socialize because you're not a primitive beast, but it's not genuine and shouldn't be considered so.
In my early working years, yes, I thought colleagues were friends, but that never proved the case when you actually needed something.
I changed my approach. Now, it's cut and dried. You hired me to perform a duty and I perform the duty because you're paying me. That's it. I'm not going to your staff bbq's or picnics, or team building bullshit seminars. I don't want or need work folks to be my friends or care about my personal life. I don't want to know about your troubles. I'm there to work for the agreed hours you're paying me for. Any of the other bullshit makes me less productive and jeopardizes job stability. I'm nice. I get along. I'm supportive and encouraging of career growth. But stay on the work side of the line.
Care about those you love. Make time for those people that make a difference in your life. Not your lunch hour at work. Nobody is at that job because you're there. It's a paycheck.
And never expect or want your boss to be your friend.