Underage magic

Before young wizards and witches go to Hogwarts and other wizarding schools, they sometimes have random bursts of magic. These often happen when the young wizard or witch feels angry. As a child in an orphanage, Tom Riddle has somewhat controlled these random bursts.