Before saying anything else, let's be clear that the diagnosis of Autism, or Autism Spectrum, has changed and expanded so much in the recent decade that far more kids have been caught in that net.
The "epidemic" is caused by changes in diagnostic criteria. Maybe, more attention to mental differences.
Even so, given the complexity of the human brain and the complexity of brain development, it's a wonder to me how often it works out sort-of ok - but never perfectly.
Autism and genetic glitches.