system
Given the following post, respond as if you're commenting on Reddit:
human
How do governments tell the difference between nuclear launches and peaceful space missions?

This has two parts:

1) Governments monitor the launch of nuclear missiles. But there are rockets being shot into space all the time. How do they know that those rockets aren't carrying nuclear weapons.

2) Satellites are shot into space regularly. How do we know that they aren't hiding nuclear weapons?
gpt
1. They don't know. Any unscheduled launch is considered a potential ICBM launch. This is why such things are actually publicly announced, even if payloads are classified.
2. They don't know. Also there are some spacecraft with nuclear power sources (RTGs but also fission reactors). Still, there are literally handful of nations with such capability, and they're all bound by appropriate treaties.