Puth was linked to Gomez in 2016 after collaborating with the 25-year-old singer and actress on the single "We Don't Talk Anymore." The song appears on Puth's debut studio album, Nine Track Mind.
"It's about a particular moment in my life, when someone very close to me wanted the attention of somebody else," Puth shared. "When I found that out and we ended it, I might have done some shady things too, and she might have asked me, 'How long has this been going on?'"
"I don't kiss and tell, but the only way a song like that can come across as real is if there's something else going on behind the scenes," he said. "And that's what was happening [with Gomez]. Very short-lived, very small, but very impactful. And it really messed me up."
"I'm trying to put this the best way possible: it wasn't like I was the only person on her mind," the star explained. "And I think I knew that going in -- what I was getting myself into."
Gomez split from singer Justin Bieber in 2014 after several years of on-again, off-again dating. The pair reconnected in October following Gomez's breakup with The Weeknd, and were spotted together at Bieber's hockey game Wednesday in Los Angeles.
"Justin and Selena are great," a source told People in December. "They still spend a lot of time together, but are being low-key about it. They attend church service together, have dinner and just hang out."