Question: who was when i was your man written for
Answer: In an interview to Rolling Stone , Mars revealed , while reluctant , that he wrote the song for his girlfriend , model Jessica Caban , when he was worried about losing her .