A rare massive star possessing a magnetic field could have produced its dynamo after merging with another star.

Source: Monster star gains magnetic personality following stellar merger