In ancient times, people thought an eclipse was an omen of something bad about to happen or that the gods were angry.