How is a signal able to travel in fiber optics?

The signal is encoded as light; the light changes intensity, for example a higher intensity for a one, or a lower intensity for a zero. (In practice, more complicated encoding schemes are used.)