I was curious about this, so for anyone else who’s interested, here’s a KrebsOnSecurity article from 2019 about how easy it was to fraudulently register a .gov domain:
It's based on what Donald Trump (or any other US president, should it come to that) says, not on any evidence or ground truth beyond that.
The are motives for lying on this - for a start, if a president knows definitively they're going to say it, it's a free 81% return. Secondly, it's a pretty big dead cat to throw on the table to distract from any scandal and/or to keep themselves in the news cycle on a different topic.
We know for a fact that the US government has no evidence of aliens existing, because there's a 0% chance Trump wouldn't have blabbed about it during his first term.