Here's how the melancholic ballad — which premiered at Coachella & debuted No. 1 on the Hot Latin Pop Songs chart — came to life.