I don't live in Thailand. But I have family members who had stayed there for awhile. Thai politics is just complicated. There are the red and yellow camps that supports their own group of politicians. There is the monarchy, with it's powerful influence in Thai politics, the military, and Thai culture. Then there is the Thai military, who have seized power in many coups, and have their own interests.
The current PM, Prayut Chan-o-cha was a former general. He took power shortly after he ousted Yingluck Shinawatra in the 2014 military coup, when he was the general at that time. Shortly before that coup, Thailand was paralyzed by clashing protests from the red and yellow camps. Yingluck happens to be the sister of another ex-PM who was also ousted in a military coup in 2006, Thaksin Shinawatra. The Shinawatra political family have been called 'pro-US', 'pro-elite', corrupted, and other bad stuff. But I don't think its that clear cut. Sure they were very friendly to the US. But at the same time, they were also quite friendly to China. I'm sure they have their own corruption scandals, but so as many other Thai politicians. Including Prayut.
Prayut is a colourful character, with his own controversy. His unpopularity now is due mostly to his shenanigans and corruption scandals. He may have done some good things, but some of the hate he is getting is also justified. He was one of the SEA leaders who condemned the 2021 coup in Myanmar. Despite Prayut himself seizing power through a coup in 2014. So you can get the jist of the kind character he is. Prayut pivoted Thailand to China mostly because the US sanctioned him and the Thai military. So there is some context to understand there. Prayut have also been suspected by a number of Thais to be puppeting the current king, leading to abuse of power, corruption, and the other bad stuff in Thai politics.
Because of the current unpopularity of Prayut, the US is more than happy to hijack the social movement against him to suit it's agenda. They are backing Thanathon Chuengrungrueangkit, one of the big opposition leaders, to be their man. That guy is a billionaire, US-sponsored shill. I don't know enough, if he stands a chance to win the next general election, or just be Thailand's version of Navalny. But Thanathon is running an anti-monarchy agenda. So he will also get some serious hate, and probably become the next coup target if he ever gets into power.
Whatever happens to Thailand. The Thai people in general are quite positive with China. I doubt they would allow any Thai leader to truly decouple from China. Think of Thailand as like Pakistan. Complicated politics with plenty of infighting and coups. But whatever leader that runs the country is generally friendly to China.