what chemical contaminant is produced in certain types of rocks and is spilled into the groundwater in the process of erosion?​