Criminal law does not reliably mete out punishments to the bad and absolve the good of blame; the justice we arrive at is, at best, rough and approximate. Yet it does divide the world into two camps: those that have committed crimes (and been caught) and those that haven't. The fear of getting caught, most people would agree, carries some deterrent force, and is one of many factors taken into account in strategic criminal action.
Many things can go wrong in this process, and often do. We do not all emerge with a clarion conscience and a moral compass that point due north. Additionally, the thought process (assuming there is a conscious one) that transpires before committing a crime is far more complicated than the one I've outlined. But, with perhaps an exception for the truly sociopathic minority, the law, in binding us all, plays a part. Getting caught completes the crime.
The question is: what stays the hand of some would-be criminals, while others commit the forbidden act? Is it the internalization of the law, some sort of social empathy, disconnect between different senses of self or a combination thereof?
So why did Gil kill himself? Was it an extreme result of the gap between his personal morality and that contained by the law? Perhaps Gil never believed he was doing anything wrong, and when faced with the imposition of the state's version of "right" and "wrong," death seemed like a logical solution. Or maybe Gil misunderstood himself. In evaluating the costs and benefits of his crime, he may have thought he was smart enough to avoid getting caught. He may also have miscalculated as to his own capacity for withstanding the opprobrium of detection. Or maybe his interests did not extend beyond himself, so he committed a crime to get rich, and then killed himself when he no longer stood to gain.
We can only speculate as to Gil's motivations. Perhaps every person who commits a crime weaves a complex web of justifications, denial, self-interest, and recklessness. Upon getting caught, this web that once sustained an identity and concealed a crime falls apart and sends the criminal flailing. I have never seen an ego laid so bare or a person more broken than a criminal at sentencing. I can understand an unwillingness to endure that experience. I can also understand how someone who had grappled with depression might choose suicide instead.
The criminal justice system doesn't just affect our actions; it also imposes a strict division on the world. One isn't "kind of" guilty; once the jury has returned its verdict, one's actions are criminal or they are not. There is no middle ground. From a procedural perspective, this makes sense, but this view of the world isn't limited to the halls of justice. It is tempting to embrace the reductive simplicity of "guilty" or "not guilty;" we want the law to punish the bad and protect the good. That notion is appealing, but it eliminates a complexity that, if grappled with, might permit a more empathic approach to understanding crimes and those who commit them.