The decision reverses the policies established under the Biden administration, which had allowed transgender individuals to serve in the military and access medical care