It looked in the database(model) built on top of stolen data which matched prompt the best. Machines don't have "inspiration".