https://www.google.ro/amp/s/www.waldenu.edu/online-bachelors-programs/bs-in-criminal-justice/resource/what-influences-criminal-behavior%3fv=amp
In purely tautological terms, a criminal becomes a criminal by committing a crime or doing something that the law forbids.
From a variety of potential factors. Some of these factors may act alone but more commonly with a slew of other factors to create the perfect storm.
But the factors of the evolution of the criminal may include:
A list (not comprehensive)
Socioeconomic status
Neurological dysfunction (tumors, neurological degeneration)
Environmental factors
Childhood and familial history
Genetics