There won't even be anything "thinking" behind it because AS OF TODAY, the technologies i'm talking about are focused on creating something that is "coherent" with everything it "knows" (aka the database it was trained on, filtered through the prompt you input). So it's not thinking. It doesn't even know it's creating, it's trying to reproduce existing codes and structures. It may change as other technologies take over (some are trying right now) but that's the state of affairs at the time of writing.
It hates me to say it - but You wrote what I was about to.

Yes, everything A.I. 'creates' is based on input from us. They are telling stories it could be different with the new generations of quantum computers, but I'm skeptical 'bout that also.