Classification in music isn't about what an instrument looks like—it's about how it makes sound.
Both the xylophone and the timpani (kettle drums) produce sound when struck. That single fact places them squarely in the percussion family—specifically, the xylophone as an idiophone (the instrument itself vibrates) and the timpani as a membranophone (a stretched membrane vibrates).
Mallets, sticks, hands, or beaters—the excitation method varies. The defining trait? Impact initiates vibration. No bowing, no blowing, no plucking. Just strike and resonate.
So whether it's wooden bars or copper bowls, if you hit it to play it, it's percussion.