pH + related pH buffer system, redox state (oxic, suboxic, anoxic), ionic strength, the presence of organic complexes + colloids as well as surface chemistry and mineral equilibria of the mineral substrate should control the mobilisation and immobilisation of metals in a complex yet partly predictable way. If hydrology, geology landuse and climate are known
First of all the mineralogy of rocks occurring in the aquifers. How fluids migrate in these aquifers (water-to-rock ratio) and then further parameters reported by Robert Kringel.
Microbes will also be an influence, and their presence/abundance is generally dictated by carbon source, pH, redox, and temperature. Sulfate reducers, given a pH > 4.5 and a simple carbon source will produce sulfide that precipitates many metals (particularly divalent). Iron oxidizers accelerate the acid in acid drainage situations, which can increase the mobilization of metals.
Environmental condition, redox potential & concn of the metal ions in electrochemical series plays a major in solubility of metal in water. The solubility , precipitation & exchange of metals is governed by oxidation- reduction potential of metals present in the aquifer. The higher the reduction potential greater the chances of metal in soluble form.