<human>: Hey everyone,

I've noticed this with several boyfriends and have never been able to figure out how to counter it. Essentially, whenever I get angry or upset from something, I close off to my SO and although they ask me what is wrong, I am just unwilling to talk. The feeling to sort of isolate myself from them is quite strong, but then when it comes to friends I don't have this feeling at all (at the same moment that is). I can easily talk to them and hence when I do this it makes my SO feel worse because they can't understand why I act this way. Why is this? This is a horrible habit I have and I really want to break it. It's unfair to my SO and it is also not a feeling I enjoy having.

Can you give me a shortened version of the text?
<bot>: When upset or angry I shut down around an SO however I don't get this feeling towards friends at that same moment thus upsetting my SO, how do I fix this?