I think a lot of songs about bad break-ups were written by talented musicians without actual experience of a bad break-up, riffing on the corpus of songs they'd heard about bad break-ups.

Like, a lot of times you're just engaging with someone's desire to have made a song, and what they felt about some songs that someone else made.

You are describing empathy, a human experience.