this is a kind of behaviour problem. most children find some sort of pleasure in doing such things & thats why they continue doing it. but it cannot be left alone. please consult a child psychologist
for the same, he will need to be spoken to in multiple sessions & councelled well. proper counselling
& guidance can help your child in great deal.