The problem the transgenders pose for the military is that these people pursue their sex change bullshiite after they’ve already been accepted for service. This causes huge medical costs for reconstructive surgery and associated mental conditions, all of which render these sick people unfit for duty for years on end. Its a scam that Trump is hip to and trying to stop.
When we are against the wall, it'll be all hands on deck, so to speak, and it won't matter if you're a 4ft male or a 7ft female, it won't matter if you are 70 years old, have coke-bottle glasses, a limp, a stutter, hypertension, diabetes, and irritable bowel syndrome. If you can hold a gun or stop a bullet protecting someone who can hold a gun, you'll be needed.
Thankfully, we are not at that point. I have no trouble with the military deciding the qualifications for service. (I'm still not clear what special skill was missing from our volunteer male force that necessitated accepting women, but I'm a dinosaur.)
Once the armed services is on the hook to pay, people who want the surgery will enlist to get it for free if they can meet the enlistment standards.
Realizing that someone merely treated for depression is rejected for service... !