It's likely the Thai form of the Indian name Arya, which as you can see on the site means "noble". It was used as a demonym by a group that settled in what is now the north half of India and Pakistan.
https://en.wiktionary.org/wiki/Reconstruction:Proto-Indo-Iranian/arya-