A shockwave changes the density of the air, basically turning it into a sort of lens. Light changes direction whenever it passes through a different medium, which is why looking through a glass of water makes things behind it look weird. By compressing and then decompressing the air, the shockwave can bend the light passing through it, making it visible to us.
Latest Answers