India (even) supported the government of Sri Lanka in another UN resolution in Geneva two years back. So for India having changed its mind this time, there may have been some justifiable reasons. India has been asking the Sri Lankan government to give a political solution.
Quoted by Archive.Indian Express, "India's vote against Sri Lanka not 'let down': ex-President", April 10, 2012.