Airlines require to provide this information to the goverment in most countries, so this could also be the issue for thailand.
It was mentioned that it will be applicable for all foreigners entering Thailand.
No, All forerigners require to do it as ,mentioned in the press release.