They are a burrowing animals its natural for them to dig. But they like burrowing where they want, and all over the place not just one place. Hedgehogs will naturally liner dive, once you stop letting them they will try find other ways. In which this is one of them.
Its not a phase, he wont just grow out of it, its a natural instinct he has.