Help!!

Ok so, I have a boyfriend, and the first time we had sex was when we weren't a couple yet. But it was only once bc I told him that we should've waited and he totally agreed. So a few days ago we became a couple and we had sex. The problem was that, when we were at the middle of it, his penis suddenly went down and he couldn't make it go on anymore.

I don't have a problem with that, I just wanna know why does that happen... a cousin told me it was maybe because he was very nervous or excited and the blood instead of going to his penis, went to his head. He also told me he didn't think it had anything to do with me, bc I was thinking that maybe it was bc he wasn't turned on enough. Do you happen to know why does that happen? Pls helppppp😩❤