The correct statement explaining why the speed of sound is different through diamond and wood is:
They have different rigidities.
The speed of sound in a material is influenced by its density and rigidity (stiffness). Diamond is an extremely rigid material, which allows sound to travel through it much faster than through wood, which is less rigid.