The song that was in your head for a long time was sampled from somebody else. I’ve been surprised many a times. It’s not something to yell at, on the contrary. Copying elements from other has been done in music for more than 12k years. Beethoven, Mozart and Stravinsky did the same. The power of music is infinite.

If you don’ trust me, here’s a bunch more songs analyzed by the same channel.