You don’t know how it works at a technical level. Neural net training on data isn’t copying images into a database for retrieval like you imagine.
35 years ago I was messing around with neural net models for optical character recognition. What have you done?
Humans can’t generate random numbers either. For example people won’t repeat digits if asked to give a random sample despite that being possible.