The geochemical behavior and mineralization of critical metals