Gwen: What is this thing? There's no useful purpose for there to be a bunch of chompy, crushy things in the middle of a hallway!This is a Booby Trap in which big stone blocks, spiked walls or sharp blades repeatedly ram into each other in a narrow hallway. The way past them is to either immediately run through when they separate or find a way to jam them. Multiple traps lined up may require some pattern memorization. Extremely common in video games as a standard obstacle, especially in medieval settings. Having large items appear on a conveyor belt that crush down are also common... which makes one wonder what these factories are supposed to be making that require so much repeated crushing to make. It also sometimes appears in settings that are within giant monsters, which could be justified because you're within the monster's digestive tract and that the smashing/pounding things are part of its pre-digestion chewing process. When devices commonly found in this trope are implemented as Death Traps and won't retract, they're usually either a Descending Ceiling or The Walls Are Closing In. A one-stop Death Course.
Jason: Gwen —
Gwen: No! I mean, we shouldn't have to do this! It makes no logical sense! Why is it here?!
Jason: Because it's on the television show.
Gwen: Well, forget it! I'm not doing it! This episode was badly written!