Some people subjectively prefer the distortion imparted by vinyl, which is fine. Some people enjoy the theater of pulling a record from a big colorful sleeve and gently placing the needle in the groove, which is also fine. Vinyl isn't better - it's objectively worse as a means of accurately reproducing sound - but some people prefer the experience.
From an information-theoretic perspective, a vinyl LP is garbage compared to a well-mastered CD. From an aesthetic perspective... people like what they like?
If the needle is good and the record is new the LP has a better theoretical dynamic range - new record is important here as each time you play the record you physically wear it, so after a few playing it will not be as good. This is the only one that is inherently better.
LPs are sold to "audiophiles", and often have a different mix. The CD will often be compressed until there is very little dynamic range. Even when the record is worn it can still be much better just because the mix on the CD wasn't good in the first place. This is the biggest advantage to LPs, but it should not be overlooked as it applies often.
I'm confident that a good producer and engineer could make an album on CD sound extremely close to an LP, likely by mastering the album similar to the way you would for an LP.
You can even add vinyl effects (warmness/clicks) in post-processing. I have a few songs in my library that really do sound like you're playing an LP, even though they're completely synthetic.
In the ripping community, there are some well-known albums that were mastered differently for LPs and are considered superior to their digital mastering. And so there are folks who spend $$$ on setups to play back the LP, record it, and then postprocess it to remove clicks. You end up with a digital audio file that has the better mastering. You could put that same file on a CD, after all.
Our ears are degenerating with every year, but the older those people get, the more expensive the equipment has to be, otherwise they can't grasp the soul of the music etc. pp.
It's just an excuse, CDs are fine.
CDs can be mastered by anyone with results that aren't horrible. So a lot of people that wouldn't touch LP production do produce CDs.