It's not so much a Yorkie thing, as it is a dog thing. A lot of dogs do this. Back when our domesticated dogs were still wolves, food was scarce. They would have to compete with other dogs for food sources. So they would have to save some for later on, and would bury it in a good place that they could find it. This instinct is still engraved in most dogs.