The paradox of drowned reefs and carbonate platforms