Ya, wheel bearing. The hub doesn't do anything unless it's locked in, and even then
it just rotates. If you had noise, and the hub fell off, the bolts were loose and you
probably got dirt and or water into the bearings, causing them to fail.
Was it the base bolts "cone bolts" or the little ones that hold the hub cover on?
Wild