Fracturing a population is a time honored way to maintain oppression.
For example, let’s say you want to prevent wealth redistribution, but there is lots of popular support for it. Then you give it to some, for example old people, and it removes wealth redistribution as a priority for them.
Now, you can more easily withhold the benefit from the remaining population. Or give them all various tiers, such as white collar and government workers with more employer subsidies, and lower paid workers with few or no subsidies.
At the end, the opposition group will waste a ton of energy trying to make their cause a priority, and will probably never achieve the full goal. The more politically important will get theirs, and the less politically important will suffer without. That stepping stone becomes a barrier.
In the example, you can change age to skin tone, gender, religious tribe, military status, and even arbitrary geographic boundary. See the recent tax benefits Alaskans received in exchange for their Senator’s vote.
That's not what's happening here. Being in the military won't magically give you a right to repair your iPhone. This law puts a requirement on DOD procurement (beyond what's already present, as I mentioned in another comment) to acquire tech data (or whatever's required) to make purchased systems maintainable by the military itself. So you buy a Generac for your house and you're in the military you get the same manuals the rest of us get. If the DOD buys a Generac for a facility, they can get more data.
What we're saying is that if the military gets it first, that's ok, because it's a stepping stone to all of us getting it.