When does music go beyond just being entertainment and become art?

I've been thinking about whether all music can be considered art. Like, there’s a difference between a comic book and a novel by Zola (one's studied and the other isn’t) Can songs made just for money really be art? Can noise, rap, and rock all be considered the same kind of "art"? What even defines art in music? Sometimes, I feel like only Radiohead’s discography or some obscure experimental bands get that label. Maybe I'm overthinking it, and art is just when someone creates something themselves?

Share your opinions!