As the galaxies get closer to each other, they can collide. But as you can see by observing the stars