Would also point out that if the uptick in autism is purely due to more early detection, it should not continue to rise post modern medicine. Yet every year it ticks up as the number of mandated childhood vaccines increase, even since the 2,000s 
Discussion
I’m of the increasing opinion that autism is an immune response to decades of over-socialization and free-floating stress.
There have been a number of confirmed cases of “overnight autism” happening the day after vaccination. Yet there are no confirmed cases of kids developing autism the day before vaccination.
https://x.com/stkirsch/status/1738658842039517424?s=46&t=AQtdy-nsAdzDqTN3CNIojw
Watched a good keynote from the same scientist who has been studying male fertility for the past ~40yrs that found sperm counts to be rapidly lowering and her investigation seems to suggest it's microplastics, among other factors, that are also contributing to autism. Plastics, while revolutionary, seem to be polluting the world like crazy.
There are certainly a number of factors involved. Agreed.
The best rule of thumb for health is to follow the way of the ancestors. Get sunshine, exercise, fresh air, clean water, quality meat, fruits, etc, and to avoid anything developed within the recent fiat era, especially post 1971, as much as possible.