DNA just encodes proteins. It can’t explain/predict detailed behavioral patterns. A prominent example of how genetics can influence aggressive/criminal behavior is due to variations in the MAOA (“Warrior”) gene, but the promotion/suppression of this gene is still strongly influenced by environmental factors [1].
Twin studies (particularly separated twin studies) claim to prove that all kinds of things are genetically encoded, because “they must be”, without considering how much is caused/influenced by other factors - the gestational environment and the experience of being separated from the birth family being the most obvious.
That’s not to say these behavioral patterns aren’t deeply ingrained and difficult/slow to change, but that’s very different from being hard-coded in DNA and impossible to change. For n=1 anecdata, I’ve significantly reduced my aggressive tendencies after years of growth work.
[1] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3469457/#:~:tex....