Gears rattling in the back
It's not the gears that are rattling.
It's your chain!
I suspect your chain is lubricated, not by a proper thixotropic motorcycle chain lubricant, but rather by a snake oil obtained from a rattlesnake.
It isn't hard to deduce that the rattlesnake oil is causing your chain to rattle.