Caption: "This graphic shows the evolutionary sequence in the growth of massive elliptical galaxy (e.g., cD or giant elliptical galaxies) over 13 Gyr, as gleaned from space-based and ground-based telescopic observations. The growth of this class of galaxies is quickly driven by rapid star formation and galaxy mergers." (Slightly edited.)
The growth of massive ellipticals is called galactic cannibalism---they eat their own.
Actually, galaxy formation and evolution is NOT yet perfectly understood. In particular, the galaxy quenching (i.e., the turning off of star formation) is NOT well understood.
Some considerations on galaxy quenching:
Certainly, in the early early formation of large-scale structure circa 1 Gyr after the Big Bang, galaxy mergers also created spiral galaxies or galaxies that evolved to being spiral galaxies. But this process may have turned off or drastically slowed over cosmic time since then.
Electromagnetic radiation (EMR) from accretion disks from sufficiently large central supermassive black holes is thought to keep any ISM gas too hot and buoyant to cool, lose pressure support, and initiate star formation.
We now know that there is hot ISM gas in ellipticals. It just tends to rather invisible radiating in the X-ray band????.
There is, however, little interstellar dust in ellipticals. Without new star formation, interstellar dust is NOT much replenished since it is made from metals created and ejected from stars in strong stellar winds or when they go and supernova.
If a galaxy merger strips most interstellar dust and thereby stops star formation by removing the cooling and shielding effect of the interstellar dust, it may NOT be possible to replenish the interstellar dust sufficiently in the modern observable universe to restart star formation.