One writes “thx” if one wants to show an amount of appreciation so small that it doesn’t justify the bother of typing all six letters of the word “thanks”, or even setting up an autocorrect so Microsoft can do it for you. If co-ordinated with a generously populated cc: line in a reply-all mail, it has the potential to vaguely irritate a lot of busy people at once.