Remember that "mental health" is inseparable from "society", in that the categories of "mental illness" are constructed based on some idea of "normal within society" (to those who doubt this: how else could we go so quickly from "homosexuality is a disease" to "homosexuality is perfectly normal"? The values of society changed and the DSM changed to reflect that. This is simply the nature of "mental illness", there is no recourse to a more [although not completely] universal notion of biological health like with physical illness. Plenty of philosophers and psychologists like Thomas Szasz and Michel Foucault, himself a gay man, have written about this at length).
If society's "normal" (which tends to include a "healthy sex life" or at least a supportive social community) becomes impossible for many to achieve, the question for many is no longer "maybe something is wrong with me?" and becomes "maybe society is the problem?"