The correct response is: Astronomers have observed their movements over time.
Astronomers use data from observations to track the motions of galaxies, and simulations help predict future interactions, which indicate that the Milky Way and Andromeda are on a collision course.