People with health problems cannot serve in the military for health-related reasons, there's no legitimate reason to deny gay people the ability to serve in the military
Every legal right and protection that straight people have, gay people should also have. Why do you have a problem with that?