I think it’s debatable, though, whether an astronaut counts as having “a role in the government”. He was employed by the government, but then, so are, say, postal carriers. He certainly had no role in governing.
The reason he was honored is that he was a government employee (albeit one of near unique compliments), which is the OP’s point.