Simple...data representation is not the same as data meaning.
I teach an introductory stats course and we hammer this in. Categorical data are often represented as numbers or other short indicators for storage purposes. Typically I fmultiple choice the encoding is by the order of the choice options.
I not infrequently see average of gender because male = 0 and female = 1 or vice versa and someone generates a table without thinking.