As for schizophrenia, see it is an exageration of rule-seeking and pattern-seeking behaviour, an over-imparting of consciousness and intention to the world, a (disregulated) sense of significance. But each of these are vital for survival and procreation in less extreme degrees.
As for BP, hypomania seems plainly adaptive in some cases (eg., esp. having sex a lot, working a lot, ...); and "hypo-depression" likewise (eg., low opporunitites for winter work, retreating, conserving, less risk takign, etc.).
It also seems adaptive that we would swing between these, so we can better explore the mood-space of motivation.
You just extremize that and you get disfunction
I can’t find the article after searching on hn.algolia.com but IIRC there was no real evidence for this, it was just a theory.
I think of this with homosexuality. What is the possible evolutionary advantage to homosexuality? Well there's lots of reasons why we would want humans to be attracted to both men and women, so they're reproduce, and it's not hard to see how genes that cause that could make people gay.
Maybe they have a way to listen what a culture says but nobody else listens