Well, the fact of the matter is that that was Hitler’s order of hate, right after he killed his homo pal Ernst Rohm and his male harem, who used to be responsible for SA internal security. Then he killed the entire SA off, including Rohm and his harem, and from then on, homosexuality was verboten.
Homosexuality had already long been that (”verboten”) without any appeal to the form of socialism that Nazism was.
Der Wanker was getting rid of some useful idiots who had been previously tolerated while still useful to him who simply weren’t useful to him anymore.