Pentagon has seceded from the United States.
If they do not follow State laws, what laws do they follow?
“I they do not follow State laws, what laws do they follow”
The military is under no obligation to follow state law they are subject to the UCMJ and DOD personal on Federal land are subject to USC code as defined by Congress. In this case neither of those codes outlaw abortion at the federal level. The Hyde amendment only stops funding and that is renewed every budget reconciliation Congress could just as easy not put it in this military reconciliation bill it is not sacred nor guaranteed.
Most military posts have exclusive legislative jurisdiction by default since they are older than 1940 this means they are sovereign US Federal soil and not subject to one sentence of state penal nor civil code. Nearly every large base falls under this category. For the ones that don’t all the military has to do is threaten to close the base and wreak the local economy right in the heart of a coming depression unless the states sign over on the property deed exclusive legislative jurisdiction easy peasy.