Police said the boy, who has been arrested, also allegedly used to sexually harass her by sending SMS-es.
The girl, a second year student at an Arts and Science college at Gobichettipalayam, allegedly set herself ablaze on Saturday last.
She succumbed to burns in hospital today, police said.
The boy reportedly used to frequently profess his love for her, sources said, adding, a case has been registered.
Pics: Prabhas, Tamannaah Bhatia at 'Baahubali 2' first look launch at MAMI
'Ae Dil Hai Mushkil' photos: Aishwarya, Anushka, Karan get candid at MAMI
Photos: Huma Qureshi, Neha Dhupia and other celebs at MAMI
Photos: Amy Jackson, Daisy Shah at Mumbai airport
Photos: Sridevi, Irrfan and other celebs at 'Mughal-e-Azam' screening