Thailand has a lot border trade with people on the other side...and these aren't the richest of the society.
The job of the government is to come along with the neighbors....not warmongering and being terrorists. No matter if the neighbor has a government they don't like.
Lao is communist dictatorship, Cambodia is not really democratic in Malaysia is the Sharia. Biggest trading partner is China a communist dictatorship, another big partner is USA, the worst warmonger and state terrorist on the planet. Should Thailand be hostile to all of them? Or rather be neutral and do business?