For me, and this is entirely anecdotal, I was typically overindulging in alcohol when I was upset about something and wanted to get my mind off of it. Which is great in theory except of course you end up stewing instead, but stopping the drinking didn't actually fix the root problem either, just a particular expression of it.
Ultimately I ended up adjusting my environment by both accepting it was OK to end some relationships with some angry people in my life (not angry at me, but angry generally) and adjusting how I approach work.