My guess would be the decay of the "traditional values" life path for a number of reasons. There's just much less of an assumption that you'll be married in your 20s and have kids before 30 than there was 50 years ago. There was so much more social pressure around the assumption that everyone's life would go that way, so even if it wasn't what you wanted for whatever reason, it was what you did because you wanted to conform to your family/friends/community's expectations.
Obviously that worked for some people, but there were also probably plenty of people having sex, or reporting they were having sex, just because it was expected of them.
Wouldn’t knowing that you’ll marry later than the previous generations make you want to have sex sooner since “easily accessible sex” is now further away?
That wasn't exactly what I was implying - more that it's now more socially acceptable to spend your teens and twenties focusing on things other than finding a partner and getting ready to have kids. I know plenty of people who did get married in their 20s, or at least had a stable relationship, but also a good number of people who were focused on their career or hobbies instead and maybe dated occasionally.
I'd actually be curious what the median age people get married at is now vs. in the 80s, although I'd assume that's confounded by people who just don't get married but are functionally in a similar level of committed relationship.
My overall point is that if you're 35 and single now, you're less of a social pariah and automatically seen as a failure of a person. You're also probably experiencing less social or familial pressure to "just settle down with someone". People are having sex and in relationships more because they want to than because they're pressured to.
Obviously that worked for some people, but there were also probably plenty of people having sex, or reporting they were having sex, just because it was expected of them.