They are two different parts of the pig. Ham bones typically come from the leg, while ham hocks, which are typically smoked, come from the shank or bottom part of the leg, close to the ankle. Both are essential to creating a distinctive, rich, meaty flavor.