Like I said, you need to read.
"In 2013, the most recent edition, DSM-5, was released. Prior to this, fierce debate about the conceptual issues of psychiatric classification spilled over into the public media worldwide. Previous revisions that had followed the period of antipsychiatry [including those by ICD, a competing classification system of the WHO] mostly went unchallenged or were discussed only within academic circles of experts."
Money and popularity caused the change.
Not until 1987 did homosexuality completely fall out of the DSM.
www.psychologytoday.com