How AI Text Gets Produced And Why It Goes Wrong