have you ever wrote a song by writing down words and then singing those words in the first melody that comes to your head, essentially making it up as you go
most lyrics would automatically have the first melody i thought of for those words, because i do the lyrics and melody simutaneously. if it doesn't work, i would usually just imagine entirely different lyrics+melody, simultaneously