I reckon that they were originally organic matter - like a seed or something, and it landed on the bed of a shallow sea, or lake, and over time it got covered by silt - it then rotted away and the cavity left in the silt/clay was filled with mineralised water which dried out over time, leaving...