Coincidence or not?
It sounds like he formed a bond with you that created a big codependency. I am guessing he may not have a lot of friends, perhaps? I have a friend doing the same thing.. really he needs to focus on the trigger.. . What is he thinking when it happens? He needs to focus hard like a lion.. look at the place we store shame, guilt, fear and regret... acknowledge and spend that energy loving himself. He also sounds like that job is not for him... I have been dealing with the same.... which sounds like you absorbed. Guilt/doubt free love of yourself is the key. Good luck, sweet soul and good seeds.:)