Over time such restrictions have largely been lifted, but there are still US export controls on GPS receivers with particular features, such as those designed for use in high speed aircraft, those able to decode the still-military-only encrypted signals that piggyback GPS and provide greater positioning precision, or those designed for use in rockets/UAVs.
So, it's reasonable to assume that if you were to build your own, and do too good of a job, you would accidentally become subject to arms trade regulations, and that's probably not a place you want to unintentionally find yourself, particularly if you're publishing it as open source on the Internet :)
How? I was under the impression that military-only signal was encrypted. And if someone breaks that encrpytion, blame should go to the poor handling of encryption rather than the person breaking it? Analogy : if you leave a classified document on the train and a passenger reads it, whose fault is it?
That's where the "restrictions have largely been lifted" part comes in.
You can decrypt most of them, but it is illegal to export without a license.
They took down the demo code they were informed that they were violating ITAR regulations.
https://www.reddit.com/r/RTLSDR/comments/yu9rei/krakenrf_pul...
I'm not sure even what section of US code to check but it is certainly plausible that you can (for example) find a surplus device that decodes the signals on EBay and it's actually illegal to do it. You can find radios on EBay that broadcast on bands that are unlawful to use (or unlawful without certain licenses, &c).
So they won't work on warheads as part of a guidance system.
Ultimately these kinds of regulations are fairly silly because a sufficiently determined smart person can recreate the covered technologies from scratch, but here we are.
But when the details of these things are published or otherwise made openly available, it doesn't take nearly as many smarts to duplicate these accomplishments.
Quite often, that's good: It's easy for a dullard like me to build a circuit or to re-use some clever assembler code when someone else has published it for my own tinkering around the house. In this way, it's a pretty great world to live in; it is often very simple to stand on the shoulders of giants and get some things done that I could probably never do on my own.
But sometimes, that's bad: We don't live in a perfect world. Enemies exist. Things like ITAR can't prevent a sufficiently smart person from doing anything, but they do make it a lot harder for them to get started.