I get that when a wave enters a more dense medium, the frequency does not change - only wavelength and velocity. But why does the amplitude decrease? What does this mean?