@Cissi ********
I think it works like this:
In a sense, it remains a grey area, but the Thai authorities have finally decided - you don't need a work permit to work remotely and they've created a visa called the DTV to allow remote work.
However, if you're only coming to Thailand for 2 weeks and wish to work remotely, then you can and don't need to go through the rigamorale of applying for a DTV as your stay is too short to make it worthwhile.
That is, unless you wish to come and go frequently, then it might be worth it.
However, for an actual "digital nomad" who is jumping between countries and doing a little bit of remote work in between, that's fine to do on a visa exempt or tourist entry as you'll be moving on to the next country afterwards anyway and have no intention of residing in Thailand.
The DTV was basically designed, in part, to provide a pathway for longer term residence to remote workers.