Each party is hoping to earn a bit of loyalty from the patient in exchange for helping to provide care.
In part, it's a simple quid pro quo: "I'll help you this time if you'll help me when the tables are turned."
When choosing between doctors, people typically focus on the prestige of their school or hospital, instead of their individual track records for patient outcomes.