Autism is rooted during fetal brain development. Behavioural and metabolic changes show up later. There is no an egg and chicken problem. The primary disease starts in the CNS and everything else follows
Proving that the source of mental disorders is the brain and not the gut (as it was believed in the distant past) is easy: 100% of patients show brain damage while a fraction of them have an abnormal gut