Adsorption Mechanisms of Alkali Metal, Alkaline Earth Metal, and Halogen Atoms on Van der Waals Materials