Codependency often arises in relationships where one person has an addiction or other type of dependency. The codependent person may feel responsible for taking care of the other person, even if it is to their own detriment. This can lead to feelings of resentment, anger, and burnout.