think about how much it would cost to you (and get money to Thailand) if you just travel back home and get the visa done over there. When they make you visa without leaving the country they lost money and you save!
Only the quarantine in ASQ hotel is minimum
*****
baht. (And lots of other places where have to put money, insurance from thai company, covid test, visa, flights maybe in thai airways, maybe end up to hospital from quarantine and hospital fees..etc.. lots of money you save and lots of money Thailand wont get.. π ) So you save money from this point of view. And they let you do that without traveling and quarantine etc...