With a sprawling empire spanning electric vehicles, rockets, artificial intelligence, and social media, Elon Musk has built a reputation as one of the most influential—and unconventional business leaders of the modern era. And as SpaceX eyes a potentially record-setting public offering, the billionaire’s path to potentially becoming the world’s first trillionaire is once again fueling fascination with how he built his success.

But few people have witnessed how Musk operates up close quite like Jon McNeill.

As Tesla’s president from 2015 to 2018, he worked alongside Musk during one of the company’s most pivotal stretches, helping oversee the rollout of the Model X and the turbulent production ramp-up of the Model 3—a period when Tesla came perilously close to bankruptcy.

However, the success of Musk, and subsequently Tesla, wasn’t necessarily driven by charisma, luck, or even raw intelligence alone, according to McNeill. Instead, it came from an obsessive willingness to challenge assumptions.

“He’s a pretty uniquely-wired individual, obviously,” McNeill told Fortune, reflecting on his former boss. “He’s thinking about stuff at a depth, constantly, and he frees up time in his day to think about these big challenges, and then figures out a way to go after them.”