Another loony baba. Amreeka has already showed its anti-Indian colors several times in the past. In foreign policy, nothing is constant. Right now Amreeka sees us favorably and is a security partner. What happened in the past or what will happen in the future is irrelevant to discussions now. In any case you are not exposed to what exactly is happening to Indian Americans in the US as I am. I may live in Lucknow but I travel quite a bit to the US and other western countries. Indian Amreeksis are finding it tough not because of what you say but because of lobbies like BLM, DEI, etc which are depriving opportunities for them. Amreeka is also going the aatma nirbhar way. So that will impact their foreign policy hugely but that does not mean they are not our security partner.
Relationship between nations is not simple like between kids in school - friends or enemies. It is complicated and based on each country’s interests, which sometimes converge and other times diverge.
Example: Amreeka pissed off France massively with the AUKUS nuclear submarine deal, kicking out France. Since then, Amreeka-France relations have not been good though they are all G7.
The USA has no border with India, this reduces conflict, the USA does not share areas where resources can be found.
In terms of conflict, China is more of a threat simply because the common border means resources are on dispute, same other nations in Asia.
Mexico in the other hand has potential conflcit with the USA due to drugs, Illiegal Immigration and even water.
Another factor is India is not in conflict with USA allies, in fact Australia or Japan are allied to India.
Both China and Russia would love Mexico get in conflict with the USA, some loons in the USA and even in Mexico think we have not common interest.
However like you said for the Moment the USA is not in direct conflict with Mexico or India.
China has conflcit wth the USA because China is willing to reduce the american presence in the Asia-Pacific.
Further more commercial policies are affecting the american interests in Asia and in commerce
.
Politics are another factor both India and Mexico are democracies, China is not, thus that generates more conflict..
Recent history is another factor.
Mexico last conflcit with the USA was in 1917 when US forces entered Mexico, however India had conflcit with China in the late XX century and China is armed with nuclear weapons.
Mexico has abandoned the nuclear option thus reducing the potential conflcit with the USA.
In my personal opinion India has much less threat from the USA than from China simply because a common border and military conflict for the same border in recent history.
Thus the military aid of the US is to help an ally with a common rival aka Chna which represents a common geopolitical threat