?
> Given the history, who would be an ally in that case?
If such history prevented alliances, there would be none. France and Germany are allies. India and the US are allies when their interests align - less so regarding Ukraine, more so regarding China - which depends significantly, but not completely, and especially in the long term, on their values (democracy, human rights, etc.) aligning.
As to how the mere presence of a nuclear attack submarine can scare off an entire carrier group, I still don't understand. But then again I build web apps not submarines.
This isn't accurate. The carrier group was to deter any invasion of West Pakistan. India had already invaded East Pakistan and that war was already effectively over when the US decided to send the fleet. It's true that the US tried to dissuade India's intervention and armed Pakistan, but they weren't about to bomb India over East Pakistan.
The Soviet ships also did not chase away the carrier group. They stayed a few weeks after the war ended with Pakistan's surrender and India's decision not to invade West Pakistan.
Escalation concerns - USA and Russia both really want to avoid direct conflicts to avoid escalation into nuclear war (and sometimes - as in this case - use that as a shield).
> General Yahya Khan is reported to have said "Kill three million of them, and the rest will eat out of our hands."
China is probably the only thing India and US agree on, especially considering Pakistan has been warming up to China now. Regarding the values, when has that stopped US ever? Only time US cares about democracy is when they the ruler is not friendly to them. US is an ally of - Saudi Arabia which is committing a genocide right now and actively sells arms to them (there goes your democracy and human rights) - Israel, again human rights go out of the window when it comes to Gaza occupation
[0] https://www.lowyinstitute.org/the-interpreter/remarkable-pol...
India and the US work together on many things, including development in India. Why is it important to you to downplay India's good relationships?
The US's record certainly isn't perfect, but nor is the other extreme realistic. Democracy has spread to almost every corner of the globe - almost all of the Americas, for example, almost all of Europe - with the US being its strongest supporter and advocate, with money, expertise, political pressure, etc. One reason is pressure from the American public, which (for most of history) has strongly supported freedom and democracy. I know well that the US also opposed some democratic governments and, especially in the Cold War, supported right-wing dictatorships.
In 1971, the US actively supported the genocide committed in East Pakistan (now Bangladesh) by the Pakistani Army. When the Indian Army intervened, Nixon sent the 7th Fleet that included the USS Enterprise into the Bay of Bengal to intimidate India. In response, the USSR sent their own flotilla.[1][2][3][4]
[1] 1971 War: How Russia sank Nixon’s gunboat diplomacy (https://www.rbth.com/articles/2011/12/20/1971_war_how_russia...)
[2] 1971 War: How the US tried to corner India (https://www.rediff.com/news/2006/dec/26claude.htm)
[3] US forces had orders to target Indian Army in 1971 (https://timesofindia.indiatimes.com/india/US-forces-had-orde...)
[4] Bangladesh Liberation War - US and USSR (https://en.wikipedia.org/wiki/Bangladesh_Liberation_War#US_a...)
https://www.scmp.com/article/714064/nixon-intervention-saved...