Accordidng to Michel Foucault, The result of homosexuality as a kind of deviance -- the rise of scientific ways of thinking and classifying, which included classifying humans.
people actually started talking about sex, whereas before sex talk was considered “impolite.”
government bureaucrats were attempting to assert their power over people
Now, since the society is more lenient to such oppression, homosexuality is not considered as a kind of deviance anymore.