Low-quality playback equipment. Mastering music correctly makes it sound "worse" on crappy hardware. But mastering it for crappy hardware makes it sound worse on quality speakers.
Some people backed the wrong horse. Much music exists mastered for old shitty car stereos and earbuds and the like. Sometimes, the original recordings are lost or nobody bothers to remaster them.