within galaxy clusters, galaxies move relative to other galaxies. they can and do collide. when this happens, the stars generally move past each other, but gas clouds and dust interact, and can form a burst of new stars. gravity pulls both galaxies into somewhat new shapes, forming bars, rings or tail-like structures.