Adding to what Mist said, they're using the prompt to pull attributes of training images images which were flagged as 4k/8k, etc. It could be as vague an association as "high-res images are generally produced by more competent artists and are qualitatively better along some metric I care about"...