This actually happens to me very often.
For example when artist A releases a new song, I check it out and sometimes I'm like "meh, whatever". A few weeks later, the song pops up randomly on my recommendation on Spotify and when it plays I'm like "wait, this song is a jam" only to find out that it was the song I used to dislike a few weeks earlier. This happens to me SO MANY times, i.e. SZA's "Love Galore", Kendrick/Rihanna's "LOYALTY", Miguel/Travis Scott's "Sky Walker", and pretty much 40% of songs on my Spotify paylists right now are growers.
Other times, it was when a song gets overplayed on the radio, it actually makes you warm up even though you really dislike it at first. For example for me, Bruno Mars' "Versace on the Floor", Ed Sheeran's "Shape of You" and most recently, Zayn/Sia's "Dusk Till Dawn" - which is currently my favorite song at the moment.
Another example is Beyonce's "Drunk in Love". When I first heard it it was so weeeiiird I was like "WTF is thiisss? Where the melody? Where's the chorus? Where is... everything?". But then, because I always listened to the album in full and never skipped any songs, it really did become a grower and now it ended up as one of my favorite bops of all time. Some songs on the album however, like "Blue" & "Heaven" remain boring no matter how many times I hear it.
I guess it has to do with the mood & maybe familiarity when you first heard the song. Like, I was not familiar with Alternative R&B and Trap at all when I first listened to Beyonce
that's why I found most of the tracks weird. But the more I warm up to the genre, the more I appreciate the sound of the album.