maybe it saw them used in their intended way (for flags, etc) and was able to make the association between the flags and their country codes, and then that led to it being able to interpret them as individual letters?
could also be from having been trained on unicode character tables, which contain english descriptions of each code point