Detachment; Cold-Hearted or Self Love?

How is it possible that all my problems are because of attachment? As I scrutinized my life, I realized it was true. My arguments with others emanated from attachment to my opinions. My anger was because of attachment to particular results that didn’t manifest the way I expected.