"It wasn’t 'Papi' at first, it was 'I Luh You N***a,' like, I luh ya luh ya luh ya n****. They switched the swag up a little bit!” Tinashe says with big rolling laughs. "It was intended for Aquarius and everything. Then Detail was in a session with J. Lo and he played her the track, because you know these producers sometimes, they’re like 'Yo, lemme play you my hot ****!' I guess she obviously really liked it, and she cut her version. One day Detail calls me and is like 'B-T-dubs, J. Lo is singing that song.' I didn’t believe it at first, I thought he was just not trying to give it to me for some reason. I was like 'J. Lo does not want that song, she’s not gonna sing that.' And then it came out. I guess she wanted it."
She didn't actually write it. I don't know why they put that in the title.
Her actual quote says "I thought he was just not trying to give it to me for some reason". Detail originally had the song for her, but then JLo heard it and wanted it.