Mrs. Brandon is trying to explain that mediums cause waves to behave differently.
In this experiment, the light wave from the student shining a light on the door demonstrates how light can pass through and interact with different materials, while the sound wave from the student screaming shows how sound propagation can be affected by the environment (including whether the door is open or closed, and the material of the door itself). It highlights the concept of how different mediums can influence the behavior of various types of waves.