Scientists know that the position of the Sun, Earth, and Moon causes eclipses. We have centuries of data that we can use to identify patterns of when these alignments will occur, allowing us to predict them in the future.