India abstaining from voting on a United Nations resolution calling for a truce in Gaza is "shocking" and shows that Indian foreign policy is now shaped by "being a subordinate ally of US imperialism", the CPI(M) and the CPI said in a joint statement on Saturday.