Masochism
Sometimes, self-injury is seen as a form of masochism which is not motivated sexually. Other behaviours, such as nail biting or trichotillomania often occur in situations where there is a lot of stress or pressure on the individual. While they are related to the individual's way to deal with stressful situations, they are also often rooted in the personality.