From https://en.wikipedia.org/wiki/Aryan
Northern India has lighter skin due to interbreeding with their lighter-skinned neighbors from Iran, the Aryans.
Aryan (/ˈɛəriən/), or Arya (borrowed from Sanskrit ārya),[1] is a term originating from the ethno-cultural self-designation of the Indo-Iranians, specifically the Iranians and the Indo-Aryans.[2][3] It stood in contrast to nearby outsiders, whom they designated as non-Aryan (*an-āryā).[4] In ancient India, the term was used by the Indo-Aryan peoples of the Vedic period, both as an endonym and in reference to a region called Aryavarta (Sanskrit: आर्यावर्त, lit. 'Land of the Aryans'), where their culture emerged.[5] Similarly, according to the Avesta, the Iranian peoples used the term to designate themselves as an ethnic group and to refer to a region called Airyanem Vaejah (Avestan: 𐬀𐬫𐬭𐬌𐬌𐬀𐬥𐬆𐬨 𐬬𐬀𐬉𐬘𐬀𐬵, lit. 'Expanse of the Arya'), which was their mythical homeland.[6][7] The word stem also forms the etymological source of place names like Alania (*Aryāna) and Iran (*Aryānām).[8]
Then Western Europe saw this and misunderstood it to make racist conclusions that led to Nazism.
In the 1850s, the French diplomat and writer Arthur de Gobineau brought forth the idea of the "Aryan race", essentially claiming that the Proto-Indo-Europeans were superior specimens of humans and that their descendants comprised either a distinct racial group or a distinct sub-group of the hypothetical Caucasian race. Through the work of his later followers, such as the British-German philosopher Houston Stewart Chamberlain, Gobineau's theory proved to be particularly popular among European racial supremacists and ultimately laid the foundation for Nazi racial theories, which also co-opted the concept of scientific racism.[13]