Copulins? Why do they exist?

I don’t know how relevant this may be, but I read some study that said that men produce more sperm when they think that their women have had sex with someone else. This has been explained as an evolutionary mechanism designed to beat cuckholdry. It could possibly be explained through pheromones…