Ask Ethan: Can stars form within the expanding Universe?
Stars formed early because local overdensities and gravitational collapse overcame cosmic expansion despite low mean density and accelerating expansion.
Only regions that became gravitationally or electromagnetically bound before dark energy dominated remain non-expanding; everything else expands under cosmic acceleration.