https://en.wikipedia.org/wiki/Imprinted_brain_theory

Another evolutionary explanation is the “imprinted brain theory” which argues that psychosis and autism are contrasting disorders on a number of different variables. This is argued to be caused by an unbalanced genomic imprinting favoring paternal genes in the case of autism and maternal genes in the case of psychosis.