In the US, government organizations are not allowed to copyright their work. They can, however, obtain works that were copyrighted by someone else. But pretty much everything coming out of NASA is public domain, though they don't put a lot of effort into publicising that fact.
https://www.copyrightlaws.com/copyright-laws-in-u-s-governme...