Now, asking if it is a trait that contributed to fitness directly in the environment in which it arose (rather than a side effect of the underlying mechanism of some such trait or combination of traits that is not, in itself, a contributor to fitness in the environment in which it arose) may be a useful and legitimate question to ask.
OTOH, this article doesn't really seem to have much to offer but speculation that segues into a really unrelated (and poorly considered) argument about treating depression that is about equivalent, borrowing the article’s own broken leg analogy, to arguing that because broken legs ultimately may be caused by, e.g., uneven stairs, that doctors are obligated to fix the stairs before treating the broken leg.