In the upper levels of the ocean there is higher temperature, lower pressure, and higher photosynthesis. All of these conditions reduce the level of CO2, which raises the pH and creates the chemical reaction which gives us CO3--. The higher levels of CO3-- allow more hydrogenous calcium carbonate to be precipitated.