Panic attack because of boyfriend?

I occasionally suffer from sleep paralysis and usually when this happens I will have nightmares about ghosts or a figure in the room, just general creepy things... but last night I suffered sleep paralysis and I began having one of the worst panic attacks I've ever experienced - all because my boyfriend was in the bed next to me. I don't know why but for some reason HE was the thing that was terrifying me, just by being next to me. I felt like I was being attacked and I was getting worse and worse because I couldn't move, eventually I managed to start moving my arms and legs a little until I regained full control of my body and I just lay there trying to calm down. My question is; has anyone ever experienced something like this in relation to sleep paralysis? and is it likely that this is related to issues we've been facing because of his anger problems?