At my last company, my boss was the first technical hire. His title was Director of Software Engineering. He got that title and the responsibilities that came with it solely because he was the first technical hire.
He had no management experience at all. He was a great engineer, but he couldn't manage his way out of a paper bag. He had the double whammy of both not knowing a thing about process and not understanding people. He didn't think having a process was necessary because his own code was amazing, he wrote the initial versions of our software all by himself in what actually is a solid example of a well-engineered project, and he couldn't fathom how anyone's code could be less than amazing. He also couldn't handle stress, and he had a habit of screaming at his subordinates and treating us like children whenever he got stressed.
His management was the biggest reason I quit.