Both sides have more to lose than win... and neither want or need the worlds press looking in.
As for Thailand, tourism is a major income, and tourists don't like war zones.
After a few days of poking each other in the chest in a tit-for-tat aggression, things will calm down.