India’s foreign policy is acombination of realpolitik and old-school “nonaligned” mumbo-jumbo that made little sense even when it was more relevant during the Cold War. In any case, they definitely don’t want to talk about country-specific human rights issues (lest Kashmir might get more play). Yet, they joined the majority to support a human rights resolution on Sri Lanka.
India has refused to condemn Syria’s brutal crackdown on its own citizens. There, it was pure cynicism on the part of South Block (India’s Ministry of External Affairs) knowing that India won’t take a hit for not condemning Syria’s war against its people.
For Sri Lanka, it’s infinitely more complicated.