It's a challenge, self hatred and self abuse. Dealing out to ourselves what was dealt to us from others *back then*.
Self attack, which can manifest through self harm, but equally emotionally. The emotional barbs we throw at ourselves can be extremely twisted and damaging.
If you're working at overcoming self hatred etc, reach out for support here. Get mutual support and encouragement on your path.