The problem with XMPP is its encryption UX is dreadful, Matrix got it right with comparing emoji to verify. Also Matrix, despite everything does try to keep its encryption up to date and so all the clients try to follow suit, the same cannot be said for xmpp