XP11 focuses on the flight models and physics of flying a plane, whereas MSFS2020 focuses on the visuals.
Neither are perfect, but for those studying or familiarizing, XP11 is a far better choice since it goes out of it's way to mimic real life. MSFS2020's basic G1000 (crammed into nearly every cockpit in the game) still has buttons that don't function, just for starters.
Different focuses, one's a "game" and the other is a "simulator".