The principle that enables light to travel along the optical fibers, even when they are bent, is Total Internal Reflection (TIR). TIR occurs when light strikes the boundary between two media at an angle greater than the critical angle, causing it to reflect back into the original medium.