Complex sentence: Such treatment is provided in civilian federal prisons when it is found to be medically necessary, but it is not available in military prisons as Pentagon policy considers transgender individuals ineligible to serve.
Split into simpler sentences: Such treatment is provided in civilian federal prisons when it is found to be medically necessary, but it is not available in military prisons. The Pentagon policy considers transgender individuals ineligible to serve.