Weird noise

I have had a gear do it. And yes it only did it when slowing out of the throttle. The bearing was also bad. The bearing may have caused the gear to go bad but still all was done for.