Why wouldn’t people be virgin, no matter their age? Sex may not be something all people wish to practice.
Because sex is half the point of all life. Step one, survive. Step two, reproduce. From the point of view of evolution, failing to reproduce is literally worse than death. Of course, we are adaptation executioners, not fitness maximizers. If we were biologically encoded to maximize fitness, we would all be hacking sperm banks to make our (or our sons') semen come up first on the register. But evolution didn't forsee sperm banks, so it just did the next best thing and made us really horny. Of course, in some people this mechanism of baby-making broke in one way or another - gay people, childfree people, asexuals, etc. But most people wanna fuck on the reg, and so most people by the age of 40 will have figured out a strategy by that point.
Hence the question. People over 40 who are still virgins will be a small minority. It is interesting to know what led them to this minority status.
I’m very surprised a lot more young people are not choosing to stay virgin.
Because horny. And lonely. Check out various courtship rituals throughout history. All you have to do today is look nice, take a few good photos, flirt a little, and do that enough times until you find a person or a few people you wanna spend time with. That's way easier than, like, raising 12 goats for a dowry.