That personality is determined by an individuals biological constitution which is in turn determined by their genes. Certain personality traits are more likely to lend themselves to anti-social behavior, and if someone inherits these traits and is brought up in an environment that nurtures crime, then they're more likely to engage in criminal acts.