Is my boyfriends friend being malicious or just not intentional?

So my boyfriends friend is both friends with my boyfriend and my boyfriends ex girlfriend, he kept telling my boyfriend how he wants to meet me, and can't wait, the moment he did he greeted me decently, made me feel welcome, but then it started feeling like an interrogation, immediately after that he decided to invite me to his birthday party, to which my boyfriend got upset and told him he already told him that neither of us are attending cause the ex would be there and it didn't end so well with them, he kept insisting, when I said maybe he immediately said he doesn't care anyway with who shows up, and then went on to speak in riddles to my boyfriend on how he's going to go to his ex as soon as he left from us, he also made a comment of if I'm tired of my boyfriend then I can send him over to him, bare in mind he is into men as well, and then went on to post my gay friend as a comment on one of my posts with me and my boyfriend after Facebook stalking me, a few days back at my boyfriends game night, he made a comment on how he wishes it was like the old game nights with my boyfriends ex still around, and when my boyfriend said yeah no pity she sucked at the game, he got mad and walked out of the room, but then for Christmas he gives my boyfriend a matching necklace charm to give to me, asks when I'm coming over again to hang out, cause they live together with several friends. My boyfriend says he doesn't know what to make out of him, but there is definitely something up, cause the person he wanted me to meet and the person I met are two worlds apart, so thoughts please? Do I give him the benefit of the doubt, or do I keep my distance?
Updates
4 mo
Yeah his friend did something again and he made an excuse for him, and I said if he puts his friend over my comfort one more time then he is going to have to choose between the two of us, he said if I threaten him again and make him choose then I should leave. He made his choice.
Is my boyfriends friend being malicious or just not intentional?
Post Opinion