A while back I quizzed a doctor friend about working conditions in a hospital and found the relationship between doctors and hospital managers to be highly analogous to software. Interestingly the most successful hospital managers tended to be ex-doctors but it was hard to convince doctors to move into management.
The heart of the issue is probably something surrounding trying to "manage" things according to some management principles when you don't understand the domain/skills of the people you are trying to manage.
The more different it is to your career experience, the harder it probably is.