Bf made me upset

Ro
My bf made me all pissy last night I was laying down he was sitting like behind me and his brother on opposite side of room on his bed and i asked what my bf was doing cause he was on his iPad and I was on my phone and he said watching a movie I said what movie and he said a movie you jerk off too and I could tell he was cause the movement he was making on the bed and I asked why he said because I got all mad and he said I have no problem with you watching porn and I said I dont have a problem but when Im right here in front of you and then I didn't talk to him for the rest of the night what do you ladies think were my emotions in the right was I right to be upset or was I just over reacting I got mad because of the fact like Im not enough why do you have to look at it when Im right in front of you that's what made me so mad