Origins of surface induced magnetic structures