Why do we keep making them?
Didn't you answer your question in the above sentence? They are used to protect US foreign interests by sending them to allies. It's not because people will somehow forget how to make them. It's based off of an assembly line and blueprints. I don't see how this would be forgotten, any more than it would be possible for society to forget how to build a CRT TV just because they are not used anymore.
I wonder how much we've learned from the Saturn V project where the majority of the crucial knowledge (including for the machines that build the parts for the machines that build the parts) was undocumented. Hopefully a lot but maybe we just forward evolve instead.
I'm always impressed that America's moribund manufacturing industry nonetheless makes prodigious amounts of expensive vehicles. It feels like one year I was hearing about the terrible failure that the F-35 was and the next year I looked up and we've got more than a thousand of them - enough to dwarf any other conventional air force.
You don't see how those skills would be forgotten because you're ignorant of the basics of manufacturing and have probably never worked in that industry. A working production line is kind of like a living organism: you can't just shut it down and then start it up again later expecting everything to still work. Much of the key information exists only as tacit knowledge that can't really be written down, and the actual product never exactly matches the blueprints.
There is also the supply chain to consider. Many of the parts coming from suppliers are custom or on a limited lifecycle so when orders stop the supply chain disintegrates and can't be quickly reconstituted regardless of how much money you spend.