Why are men such jerks-.-

So my bests friends husband just told her she couldn't talk to me anymore and I'm so upset :( we had planned to go shopping tomorrow and he got mad with her and told her if she went with me then she could just take her shit and leave which I think is very drastic :'( I don't want her to get into an argument over me you know what do I do this is my best friend . Should I just stay away??

** let me add in that he is just being controlling , I didn't do anything wrong , other than invite her to go with me places as she is a stay at home mom , we usually go to chuckie cheese kids with the kids every other weekend , but lately he's just been acting that way with her. But I did tell her just to stop texting me and calling me a week or so so he doesn't get angry with her, it's just sad to me because they have been married for 7 years and I was there when they started. We've been friends since kindergarten. But thank yall for any advice you have given me , I just feel sad