I appreciate the fact that your post is educative and quite revolutionary. So many mysteries for scientists to unravel. But I still have not understand how stars becomes magnet or how magnets come into being.
More explicit "layman" explanation would make for a better understanding of the subject.
Thanks @greenrun for the stress.
I'm Tomfreeman!
The origin of the very magnetic fields exhibited by these magnetars are sketchy. There are theories though of something to do with the gas surrounding the magnetar.