Using the James Webb Space Telescope, astronomers have captured the clearest picture yet of how galaxies formed in the early universe.