Diamond sparkle because of total internal reflection.
Along with total internal reflection, following are the three other factors that determine the sparkling of the diamond:
Reflection takes place when the light ray hits the diamond and bounces back giving away an instantaneous shine. Refraction and dispersion are the reasons why the light ray travels through the diamond. Diamond acts like a tiny complicated prism through which the light ray travels at different angles.