Never heard of Matrix before (as a protocol) what's it's advantage over XMPP?
Lots of discussion here.
The conceptual the prinicple difference is that XMPP originally is about sending messages while Matrix conceptually is about 'syncing state' (like a mini-graph database).