It's not where you work that governments tends to ultimately be concerned about, but whether or not you are consuming local government services, since that's what the taxes are meant to pay for.
As a short term tourist, you're a valuable resource. As a long term resident, you may very quickly become a net drain if you pay your tax somewhere else.
And for most people, if they live and work in Thailand most of the time, they will either not pay tax in their home country, or will pay tax proportional to the amount of time they live there, on the expectation that someone who is resident outside the country most of the time will not expend much local resources.
Laws have dealt with this kind of scenario for a very long time since it's been an issue in border areas pretty much "forever" that people try all kinds of creative methods to cut their tax costs. There's nothing particularly new here with the internet other than magnitude.
The biggest notable exception that can cause expensive double taxation is the US, since the IRS likes to get their hands on US citizens income regardless where they live, but even in that case it's ameliorated substantially for most countries via double taxation treaties.
This logic is flawed. When does a tourist cross from being profitable to being a drain?
The tax argument only holds water if your income is earned in the country you are living in. That money came from a system that is supported by government and shared infrastructure and services. So yes, there is a strong legal and economic argument saying if you earn money from Thailand you should pay taxes in Thailand. The key here being earning money in/from Thailand.
But if you are visiting Thailand, but earning money in the US and paying taxes in the US, it's pretty difficult to say that you are a net drain.
You absolutely are equivalent economically to a tourist as far as your impact on the economy is concerned. As a non-local citizen, you won't have access to state health care (if it's provided) or anything else tax paying citizens have access to. And your absence from the country would be a net negative value since you will be paying $0 into the local economy instead of room and board, internet connectivity, and general consumption, which all can be taxed with a VAT.
Edit: Also, I promise I'm not trying to be an internet jerk :). But I'm not sure what you mean by laws have had to deal with this exact scenario for a long time.
They haven't.
Generally speaking, the common case is for people to evade taxes by leaving where you earn money and claiming to be a citizen of some other country with more lenient tax laws. Which is the total inverse of this scenario.
As a short term tourist, you're a valuable resource. As a long term resident, you may very quickly become a net drain if you pay your tax somewhere else.
And for most people, if they live and work in Thailand most of the time, they will either not pay tax in their home country, or will pay tax proportional to the amount of time they live there, on the expectation that someone who is resident outside the country most of the time will not expend much local resources.
Laws have dealt with this kind of scenario for a very long time since it's been an issue in border areas pretty much "forever" that people try all kinds of creative methods to cut their tax costs. There's nothing particularly new here with the internet other than magnitude.
The biggest notable exception that can cause expensive double taxation is the US, since the IRS likes to get their hands on US citizens income regardless where they live, but even in that case it's ameliorated substantially for most countries via double taxation treaties.