The key factor should be, must be, military readiness.  Transgender personnel require continuous drug treatment and medical care.  Many as a result are non-deployable to combat areas.  This results in additional burdens being placed on the rest of the force.  When a tattoo, or overweight status can result in being barred from service, the problems with gender reassignment should also.