AI 'reasoning' is a allied to password cracking, where every combination of the allowed symbol set is incremented across until the locked door is opened. Analogously the AI does a similar task with the ability to create and test code until one works, and similarly hack code with a blizzard of variances until an entry point(bug) is found = record and continue.
The speed and parallelism is not a reasoned path, it is an exhaustive path that, hopefully, finds the hole. It also finds 'hallucinations' - which a reasoning mind recognises, but these early stage AI's often do not.