I've never seen it like that before haha but I'm guessing it has got something to do with reflection off the wave, when I wave hits the boundary it is reflected at the same speed and wavelength, the reflected wave then supervises with the original wave but I'm not sure if this info is relevant to this topic haha sorry