Probability of something occurring if only one or two persons are attracted to the personnel that they live with, knowing that those others are almost certainly not attracted to them in return, extremely low.
Probability of something occurring if pretty much all of the personnel that are attracted to each other in one way or another are all living together, and everyone knows that the attraction could easily be mutual, pretty frickin high.
Most people are not interested in trying to start a relationship with someone who is not attracted to the gender they are. And anyone who tries to force someone into a relationship that they don't want to be in, no matter if they have the same sexuality or not, can easily be punished through other rules of the UCMJ, harassment and rape come to mind.
"A woman is like a teabag, you never know how strong she is until she gets in hot water." - Eleanor Roosevelt
Keep your religion out of other people's marriages.
So should we have separate locker rooms and bathrooms and dorms and all that stuff for gays in all other segments of society? At the gym, and in college? After all, there are going to be gays in those places too, staring at the rest of us.
You are 100% correct here.
Simple enough of an answer for you?