Or during a war.
Or at work.
Or at the very least, you need to consistently remind yourself you aren't there to make friends.
A couple of incidents at work previously made me take a step back to evaluate the relationships I've been fostering.
I thought everyone was nice and friendly in so far then.
I also let it get to my head, that I was always neutral and infallible, but I managed to make someone upset by my own doing.
But I guess you need these to happen so you can truly get back to work.
They are also reminders that people can turn on you anytime.