Anthracite forms from the accumulation of plant debris in a swamp environment. When plant debris dies and falls into the swamp, the standing water of the swamp protects it from decay.
Flint is formed by the decomposition and compaction of various organisms such as sponges and diatoms under the water.