PM Modi did not meet trump despite being in America...?
The main reason for not meeting donald trump or Kamala harris during prime minister Narendra Modi's visit to America was to keep India's side neutral in American politics. india did not want any such situation to arise during the presidential election in America which could be seen as a glimpse of bias. Let us tell you that india is the only country at present, which has good relations with most of the countries. This is an introduction to the art of successful diplomacy. Its latest example was seen when the prime minister of the country visited ukraine apart from Russia.
Let us tell you that before PM Modi's visit to America, presidential candidate donald trump had talked about meeting Modi during a rally in Michigan, but india never confirmed it. indian officials clarified that PM Modi will not meet either of the two major political candidates (Trump and Harris). So that no message goes out that india is taking the side of any one in the US elections.
Attempt not to interfere in American politics
According to the report of HT Hindi, one of the reasons behind the decision not to meet trump was that after the "Howdy Modi" programs in 2019 and "Namaste Trump" in 2020, the perception was that india was supporting donald trump in the US elections, which india had to work hard to correct. However, this time india kept itself away from the election environment and tried its best to give the message that it does not want to influence the election in any way, knowingly or unknowingly, by not meeting any of the presidential candidates like last time.
On the other hand, both trump and Kamala harris were busy with their campaigns due to the presidential elections, due to which they could not even find time to meet. During the Halia visit, indian officials ensured that India's policy remained neutral and there were no signs of interference in American politics.