The truth is that we don't know. Stout (2005) sums up the research well, explaining that as much as 50% percent of the cause of sociopathy can be attributed to heritability, while the remaining percentage is a confusing and not-yet-understood mixture of environmental factors.
Similarly, Ferguson (2010) conducted a meta-analysis and found that 56% of the variance in Antisocial Personality Disorder, the formal disorder of sociopathy, can be explained through genetic influences.
If, as the research suggests, sociopaths are born with a predisposition to sociopathy, it means that they don't have total control over their behavior. To think that a poor child is born with such a horrific, life-long liability is a terribly sad reality. After all, no child deserves to carry around that kind of baggage.