This is the main difference between US justice and the rest of the western world. We are a society that is pathologically individualistic, believing in personal agency and responsibility above all else. So it's about punishing the individual, with protecting society being secondary to that. Rehabilitation can be tried for lesser crimes if it doesn't interfere with said punishment. But capital crimes are capital crimes and we do not believe in second chances for those.