I'm not familiar with Matrix but it appears to be federated and more complex. In nostr, relays are not required to talk to each other and data is not required to be stored on servers.