When the autism diagnostic criteria were broadened in the DSM, the people making that change predicted that we would see this rise in diagnostic rates. That was the intent, to help a broader range of people. It's played out slowly as clinicians and schools were retrained. There's also been an increasing incentive to diagnose as autism in addition to intellectual disability when possible, because insurance companies and schools will do a lot more if it's labeled autism.
So we've seen that shift. The diagnostic criteria changed a lot, not just a little, over time.
By coincidence, Wakefield launched his fraudulent crap about vaccines a few years after the criteria were broadened, and that became the popular explanation rather than the fact that the criteria changed. Belief in his BS is perhaps fading but it's still around.
The "epidemic" was predicted and an intentional outcome of the DSM criteria change, though.
If you hang out with a bunch of families with autistic kids, it's very obviously inherited in a large fraction of cases, because the kids are so much like their parents.
Another large fraction is likely genetic in the sense of "de novo" mutation, rather than inherited genes. There's likely also a group of environmental cases, mostly prenatal environmental factors.
Because social function depends on many coordinated aspects of human cognition, any condition that has a fairly global effect on the brain can create traits meeting the autism diagnostic criteria. The criteria are very broad, with many different ways to meet them.
It's important to realize that autism is a broad category, not a single condition, and no proposed single gene or environmental factor ever seems to relate to more than a few percent of cases.
https://intellectualizing.net/2013/12/17/book-rethinking-aut...
Some of those causes could well be new to the modern world, but the changing diagnostic criteria do explain most of the expansion in diagnoses already, so there isn't a lot of evidence that we need to be looking for something novel to explain the increased diagnoses.