Interfacial Magnetism and Anisotropy in Dirac and Weyl Semimetals