What are two ways that galaxies change over time?