Determinist answer: Because the causal chain has led to the society having rules against crime, which many of us were raised to not commit. Even though free will is an illusion, we still have these illusionary inclinations to put away criminals.
It doesn't even matter if the criminal is technically responsible or not. It's just the way things are done, based on how things were done, based on how earlier things were done, etc.
Bookmarks