I think it is almost entirely down to never being colonized when their neighbouring countries were under either French or British rule. It was actually convenient for the colonial powers to have Thailand as a bulwark separating their colonies in east Asia. Thais, however, are taught that it was due to the colonialists fearing Thai bravery and military expertise. The downside today is that few Thais have the language skills to communicate in international forums.