Back off and leave her alone and don't worry if it means you will 'get your friend back'.
You asking her for more info and if she was going to not hang out with you outside of Uni was just rude. She told you her bf was uncomfortable and you basically said I don't care what he thinks. You may not have used those words but you completely disrespected their relationship by questioning her further.
'People are never perfect but love can be. People waste time looking for the perfect lover rather than creating the perfect love' - Princess Leigh-Cheri from Still Life With Woodpecker.