How James Webb Telescope Reveals Magnetic Field's Role in Star Formation