I guess some people dislike their style of music, and are exposed to it against their will frequently enough.
Otherwise there's no reason to hate music you dislike, you simply ignore it forever.
The only time I've managed to hate a song out of my own volition, is when I somehow happened upon
Marnie Stern - Grapefruit.
I find that song just fascinatingly hideous. The nails on a chalkboard of music. Just instinctively unpleasant.
I listen to it purposely on occasion because of that unique...quality.
Actually I'm not sure I can say I hate it, as I have this weird appreciation for it, but it's the worst.
I'm not frequently exposed to imagine Dragons. My main association is that one time they played at a Game Awards. So I can't hate them.