do you have any idea of there movements from the time they got tested to the time they actually got on the plane? No you dont.
Go to shops, go to restaurant, go to cafe. Plenty of places to get infected from the time you get the test to the time you get tested in Thailand.
Its not a fool proof 100% guarantee system,. however its as safe as we can possibly get it without testing everyone every time they leave the home.