“If India were to be attacked, we’ll be there to help,” President Donald Trump told Prime Minister Narendra Modi on the sidelines of the G7 meeting in June. The comment was offered warmly, in the spirit of a friendship the president said “cannot be closer.” But whether the two countries could fight together effectively is a question that’s getting harder to answer.As the nature of warfare evolves with unprecedented U.S. progress in artificial in…