 Literally, that could be it. People who weren't gay at all got bad discharges for homosexuality or something similar to that. And there's a particular code for this because there are various ways of getting discharged. The important one is sex.