what changed was how we detected it, and how we defined it. you can't dismiss that.
before we called cancer "cancer" it was just a generic disease or a sickness that people got and died because of it. then we determined that cancer was a thing, gave it a definition, were able to spot it, diagnose it, and in some cases treat it. there wasn't an uptick in "cancer" at that time, nothing new was causing cancer, it was only an uptick in diagnoses and detection under new definitions.
back in the 5th century they though breast cancer was just a milk clot in a mammary duct. when they discovered it was actually cancer causing this and started to diagnose it there wasn't an uptick of breast cancer. nothing new was causing breast cancer, they just had a proper term for it now.
JUST LIKE AUTISM
autism isn't something new. nothing new is causing more autism. the definition broaden/changed and we diagnose it more based on the change of the definition. and since autism is such a broad spectrum it's going to cover that much more of a range of people. from high functioning people (who have above average intelligence, focused interests and some social difficulties) to profound autism (sever communication limitations, sever developmental issues, sever intellectual disabilities, etc)
it's like "disability". that term is also a spectrum. some people have very minor disabilities (ex wearing glasses, having flat feet, color blindness, learning) and on the other side of that spectrum; full on mobility disabilities, full blindness, deafness, missing limbs, etc.
people have had autism in the past. it was just never classified. they were just called "special" or, weird, or "out there" or "Fae Children" (aka changeling, European folklore and legends were healthy children were abducted and replaced with a Fae/fairy person. and they would act weird and abnormal. look into it cause those were just autistic people)
austism has been around for centuries. nothing new has been introduced to cause it to happen more. we just recognise it more