Thailand is surprisingly sophisticated with their IT integration. I suspect many agencies are interconnected, when I applied fir an Elite visa, they asked me about withdrawals made on my ATM card in Australia, I never told them about that account.
Thailand 4.0 is all about knowing everything digitally about everyone. Foreigners don’t yet have digital ID cards here, it’s why we can no longer use PayPal or undergo KYC validation at some cryptocurrency, exchanges, etc.