Deficiency of certain metals like zinc, iron, or other nutrients is associated with causing pica cravings in children and pregnant women.