This image from NASA’s Spitzer Space Telescope shows a star formation region in molecular cloud NGC 6334, also known as the Cat's Paw Nebula. The colors correspond with emission at 3.6 microns (blue), 4.5 microns (green), and 8 microns (red). This cloud is actively forming massive stars, and is located in the constellation Scorpius, between 4,200 to 5,500 light-years from Earth. ALMA data overlaid on the image shows details of four specific areas that were observed (NGC6334I, NGC6334I(N), NGC6334IV and NGC6334V), revealing invisible forces of magnetism and gravity as they wrestle and shape the formation of stars deep within the giant molecular cloud. The color scale in the ALMA images represents the intensity of the dust emission at 1.3mm and the drapery lines represent the orientation of the magnetic field. Credit: Credit for composite image: background, NASA/JPL-Caltech; overlay: ESO/NAOJ/NSF NRAO; image created by NSF/AUI/NSF NRAO/M. Weiss.

Astronomers have captured the clearest picture yet of how massive stars are born, revealing a dramatic interplay between gravity and magnetic fields in some of our galaxy's most dynamic star forming regions. A team led by Dr. Qizhou Zhang from the Center for Astrophysics | Harvard & Smithsonian used the Atacama Large Millimeter/submillimeter Array (ALMA) to conduct the largest and most detailed survey to date of magnetic fields in 17 regions where clusters of massive stars are forming.

These observations, reaching down to just a few thousand astronomical units (about 10 times the distance from the sun to Pluto) offer the first statistical insight into how the invisible forces of magnetism and gravity wrestle and shape the formation of stars deep within .

The work is in The Astrophysical Journal.

Star formation requires gas in space to be squeezed to densities more than ten trillion times greater than what's typically found in interstellar clouds. But this epic collapse isn't driven by gravity alone—magnetic fields and turbulence both push back, resisting the pull. For decades, astronomers have debated which force dominates as gas clouds shrink and stars ignite.

New ALMA observations by Zhang's team have provided crucial answers. By measuring how the directions of magnetic fields change at different distances from young protostars, the researchers found that as gas becomes denser, gravity begins to win this cosmic tug-of-war. Magnetic fields, which start out mainly resisting gravity, are gradually pulled into alignment with infalling gas, showing a clear sign that gravity takes over as the leading force shaping the collapsing cloud.

This study marks the first time astronomers have statistically traced how magnetic fields behave as gravity pulls a star-forming cloud inward at precise measurements, in thousands of astronomical units, across a large sample of massive cluster-forming regions. The findings revealed a surprising pattern: the magnetic field orientations do not just occur randomly. Instead, they show two preferences: sometimes lining up with the direction of gravity, or sometimes perpendicular—evidence for a complex and evolving relationship between these two cosmic forces.

"With ALMA's extraordinary sensitivity and resolution, we can now probe these cosmic birthplaces in unprecedented detail," said Zhang. "We see that gravity actually reorients the as clouds collapse, offering new clues about how —and the clusters they inhabit—emerge from the interstellar medium."

Understanding how stars form is fundamental to almost every field of astronomy, shaping everything from the origins of our own sun to the evolution of galaxies. This work not only settles long-standing debates about the relative importance of magnetic fields and gravity in massive , but also gives scientists powerful new tools to test and refine theories about the life cycles of stars, planets, and cosmic clouds.

As the largest ALMA polarimetric study of its kind, this project sets a new standard for understanding both the visible and invisible components of our galaxy. The results reveal that while magnetic fields shape star-forming clouds, gravity ultimately takes the lead in birthing the most massive stars—an insight made possible by ALMA's cutting-edge technology.

More information: Qizhou Zhang et al, Impact of Gravity on Changing Magnetic Field Orientations in a Sample of Massive Protostellar Clusters Observed with ALMA, The Astrophysical Journal (2025).

Journal information: Astrophysical Journal