Mac... your friend's boyfriend is jealous and insecure. That's her problem.
Maybe one day, she'll learn that jealousy isn't a healthy part of any relationship and she'll not alllow it.
Until then, you'll have one less friend. It is what it is and you can't fix it.