system
Given the following post, respond as if you're commenting on Reddit:
human
What causes that sensation of feeling "guilty/bad"?

When I do something that I know I shouldn't I often get a feeling that can only really be described as a very unpleasant feeling in my head. I know when we do something good the brain rewards us with dopamine. Is there something that happens when we do something that is bad?
gpt
From a psychological cognitive-behavioral perspective with a background in trauma

There are two types of emotions: natural and manufactured. Natural emotions are the ones that everyone feels given a situation. For example, we feel sad when we lose someone we care about. Another example would be that we get happy when we obtain something desireable. Manufactured emotions are those that take some type of interpretation. Guilt is considered a manufactured emotion because you have to interpret personal fault for causing something. Let's say that you are on a convoy in a combat zone. You were the lead vehicle, but you had to pull-over to assess a situation. You signal to the vehicle behind you to continue forward. That vehicle ends up running over a bomb and the people inside all die. If interpreted in a certain fashion, you could make the judgement that the bomb was meant for you and since you decided to pull over, caused the others to die. This takes some cognitive tricks such as only focusing on certain aspects of an event and ignoring other evidence. You would have to avoid recognizing that someone else placed the bomb there, that you didn't know the bomb was there beforehand, or that combat environments are complicated and intense. Therefore, guilt is a result of an event and how you make sense of it.