Question out of curiosity

Has anyone ever wondered why it is easy to get

Pregnant on accident, when you don’t want to, but when you actually try it can take a few months or years? Just asking because I see everyone saying they’ve tried for years and haven’t been able to have a kid yet but then there’s a lot of girls getting pregnant on accident?? Just curious.