In a medium, this can create a "phase kickback" which creates a combined wave that appears to travel slower than the original one. The kickback is just the result of multiple EM changes propagating, i.e. the photons interact with the material, re-emitting photons.
FYI/PSA: If you leave the tracking portion of the youtube link (e.g. after the '?') it is trivial to track back to the youtube account of the person who clicked the 'share' icon. Always best to remove the '?si=...' part before publicly sharing.
3Blue1Brown has a beautiful animation for this phase kickback here: https://youtube.com/shorts/XIW-2ykgVPI?si=PJWiAC2BO7_xP0S6