Furthermore, you can't trust Tor servers and a huge part of them are run by governments. The difference here is that we can choose the relay servers and avoid the ones we don't exactly trust.
nostr isn't protected against that either
Nostr relays are few, it is easier to expose rogue actors.