Instability of skyrmions in magnetic fields