Mike Farley wrote:
Why would he be surprised that his powers could be taken away? That was a key plot point of X-Men The Last Stand--the mutant "cure."
And we don't know what has happened since then. As seen at the end of X3, the cure "wears off" on Magneto after a few weeks, so for all we know it was found to be a non-issue for everyone afterwards.