I don't think it's just perception. Doctors really do deal with other people -- both patients and coworkers -- more than software engineers do.
For all the talk of how doctors make a lot of money, the reason they do is that so few are both qualified and willing to take the long, grinding road through 8 years of medical school and residency, $200k in debt, and 80 hour work weeks, with fierce competition at every step of the way. According to the med students I know, if you aren't inspired by some higher calling it's almost not worth it because you won't make it through.
That's tongue-in-cheek, but I'll bet there is a study out there to support the idea that humans do not value indirect effects as much as direct effects.
Deleted comment