Children may resort to self punishment due to a variety of factors including emotional distress, feelings of inadequacy, or the inability to manage stress effectively. It can also be a response to trauma, bullying, or family issues. Children often lack the coping mechanisms that adults have, making them more vulnerable to these behaviors.