What’s the real reason

So I’ve noticed recently that sometimes during sex my SO will lose his erection and it takes a few minutes for him to re-erect. He says it’s because his mind side tracks sometimes about what I like in the bedroom and then it gets soft. Does this happen to anyone else?? It kinda makes me self conscious at times.