Am I wrong?

So me and my boyfriend were having sex. He was hard and wanted it at first. Then in the middle he started rubbing my clit, which he does whiles he’s in me to make me cum, then he will finish. But instead he pulled it out and when I asked him to put it back in, he was lint hard anymore. This has never happened to us and I automatically started thinking there was something wrong with me and I wasn’t good enough anymore. Like I won’t be able to satisfy him again? He’s apologized so much. I feel like it might be a common problem but Idk. Am I wrong for feeling bad about myself after?