XLR is for a balanced connection. TRS is cheap, and has been used for almost every purpose imaginable, including mono, stereo, balanced single channel, and high level speaker connection, which creates a higher risk of an incorrect connection. XLR is mostly only used for balanced line level audio.