How do mental processes manifest in the behavior you identified in your example about gun violence?

How do mental processes manifest in the behavior you identified in your example about gun violence?