Whether or not galaxies merge depends on how strong the gravitational attraction is between the galaxies and whether the universe's expansion is more powerful than gravity. Gravity affects everything ...