Why do people become addicted to painkillers from routine surgery?

Its in their genes. It is rare, but studies have shown that they have a genetic predisposition toward addiction. It is not enough to be predisposed one must also be exposed the agent causing addiction. For many people, their first exposure to narcotics occurs following trauma or surgery, and for less than 1% things can escalate out of control from there.