The song came to be after Jonas smoked weed at Coachella after which he lost himself dancing to the music for several hours. The "Chains
" singer then mined inspiration from the experience at the studio with songwriter Simon Wilcox the following week. Jonas recalled to Genius
"I worked with Simon Wilcox, who I wrote 'Jealous
' with, and some new producers. Jack and Coke from Sweden. I said, 'I was just at Coachella and I had this amazing experience. What if we did a pop song and it had really deep lyrics and it was about my journey to find love and every time I'm around it, I kind of run from it. But to a house tempo. House elements of a steady guitar line that just runs through the whole thing.' And they started playing it. I started doing some of the melodies. Simon and I dug in on the lyric."