Relationships

So over the weekend I was spending time with my family when one of my "friends" boyfriend texted me asking me for my best friends number because he couldn't get ahold of his girlfriend and he knew they were together shopping. I didn't give him her number because he hates my best friend and he is very hot headed and likes to blame stuff on other people when stuff goes wrong in their relationship and the first time her name would be mentioned in an argument he would text her cussing her out. so I called her and she let her know that he was trying to get ahold of her but he got mad at me saying that I was being childish for not giving him her number and my other "friend" felt the same way and wont even talk to me now but talks about me behind my back. He then told me to never ask him for another damn thing. Well my mom saw this message pop up on my phone and took it as a threat so she went off on him but he determines my grade for my uniform every week and I feel like it is going to be taken out on me. I don't know what to do about this and was I in the wrong for not giving him her number even though he got the same results out of it (being able to talk to his girlfriend)? ( I'm sorry this story is all over the place but I need advise)