What can happen to seismic waves as they travel through earth?