Ronson explained to Zane Lowe that Parker's melody was written some time around 2017 and had stuck with him since. He wanted to include it on Late Night Feelings
but was unable to find a place for it until he had a lightbulb moment. The producer recalled driving around and hearing either Cabello's "Havana
" or "Consequences
" and he realized the former Fifth Harmony singer was the missing piece.
When Cabello came in to work on the track she came prepared with some lyrics that fit perfectly. Ronson said: "When you're trying to write lyrics to a pre-existing melody, it is very challenging and most people usually just like- she just nailed it. She cracked the code."