Anxiety attacks

I’ve heard and felt my boyfriend jerk off while he thought I was asleep. Once he admitted it and I was ok with it. But everytime I caught him, I start having anxiety attack.

I used to have them when I was about 12 and Heard- my parents doing the deed twice. I’m not sure if this is because of hearing my parents caused some sort of Trauma. Is this normal reaction? I hear some get excited and turned on I get the opposite