That’s because AI does not understand anything: it just predicts the next token based on previous tokens and statistics
As opposed to what you were doing when you wrote that.