Cabello previously collaborated with producers Benny Blanco and Cashmere Cat on the latter's song "Love Incredible", recorded in May 2016.
In November 2016, during a writing session with Blanco, singer-songwriter Sia conceived the concept for a demo, and both composed the song.
[11] The song interpolates Christina Aguilera's "Genie in a Bottle", written by David Frank, Steve Kipner and Pamela Sheyne.
[8] Editors from Rap-Up wrote "the song blends island flavors with intense pop sounds, making it a dance-ready soundtrack for optimism.
"[13] Anna Gaca of Spin described the song as a "dancehall-inspired beat that bears a passing resemblance to Sia's 'Cheap Thrills'.
"[9] Idolator writer Mike Wass called the song a "moody, mid-tempo bop", and opined, "the 20-year-old followed Sia's demo a little too closely.
Wearing sparkly gold attire, Cabello danced amid male backup dancers and drummers as fires burned behind them.
[18] Cabello delivered a "stripped-back" acoustic rendition on The Tonight Show Starring Jimmy Fallon on June 22.
"[19] She also included the song as a part of her setlist as an opening act on Bruno Mars' 24K Magic World Tour.