It is found within the name of the document… Passport…
Pass through any Port
The whole concept is as an Identifier of a person that is recognised as a Citizen of a country to allow movement through other countries.
Where your abode or address within the origin of your Citizenship is of no importance to the country you are visiting/travelling through, they want to know WHERE you are staying when within their country.
Employee BIAS is a real thing, maybe their friend or cousin had a romantic connection with a FARANG that went sour and so now they make it their mission to pay back any Farang they cross paths with in their capacity at the bank.
stayed 29 days across February to March, stayed 7 weeks across end of July to early September, then 4 weeks end of November into December last year, didn’t have an issue.
It is definitely at the sole discretion of the I.O you encounter at the arrivals hall wherever you enter, but as others have mentioned, the I.O’s can see when you are keeping tourist movements as opposed to those the try to abuse the visa exempt system.