Being Thai, I'm pretty sure that the resemblance is merely coincidental. The words for "fish""fish", and "swim""swim" in Thai are:
fish: ปลา
[plaː]
[plaː]
swim: ว่าย[wâːi]
[wâːi]
Thai has a word for "fish""fish" that was borrowed from Pali/Sanskrit:
มัจฉา
[mát-tɕʰǎː]
[mát-tɕʰǎː]
which sounds notdoesn't sound very close to the mentioned Slavic word.
I'm more curious in how words like "elephant", "avatar", "immortal", which Thai borrowed from Pali/Sanskrit as เอราวัณ [eː-raː-wán]
[eː-raː-wán] อวตาร [à-wá-taːn]
[à-wá-taːn] อมตะ [à-má-tàʔ]
[à-má-tàʔ], sound like in Slavic. (NOTE: The more common word for elephants, which is not a borrowed word, in Thai is ช้าง [tɕʰáːŋ]
[tɕʰáːŋ].)