Yes, for both employment is prohibited (as in working for Thai employer) but while DTV allows you to work remotely, tourist visa does not. Most people do it of course and nobody cares when you’re on a 2 week vacation but those who live in Thailand on tourist visas and border runs can get in trouble.