Scientists may have observed the birth of a magnetar following a neutron star merger for the first time.