The song is based on a painful experience that once happened to Tranter when a serious relationship he was involved in was nearing the end. Tranter suspected his boyfriend was being unfaithful, so he decided to investigate. "I went through his phone when he was in the shower and found what I knew I was going to find," he recalled to MTV News
. "He was cheating."
Tranter suggested the songwriting idea to his co-writers Andrew Watt, Benny Blanco, and Ali Tamposi, They penned the track's pre-chorus and chorus and left the verses open for Cardi to do her thing.