As scientists studied earthquake waves, they noticed something interesting. The speed of the waves changed as they traveled through earth. The path of the waves also changed.These changes happen because Earth is made of layers. The layers have different compositions and different densities. Density is the amount of mass per unit volume of a material. These differences make the earthquake waves slow down, speed wp, or change direction.