Thanks for using health care magic for posting your query.
I have gone through your given history in detail.
From your description it appears you have stress
in your work. When you are not able to reach the goals, you get frustrated and you tend to vent out the anger on some one close to you which are friends in your case.
techniques and problem solving skills can help you a lot regarding how to manage anger and difficult situations.
The same can be learned from a good psychologist
and can be practiced regularly.
Cognitive Behavioural therapy can also be useful for you.
Hope I am able to answer your concerns.
If you have any further query, I would be glad to help you.
In future if you wish to contact me directly, you can use the below mentioned link:
Wish you good health,
Dr. Srikanth Reddy M.D.