Hawaiite is a fine-grained, hard rock that forms when bits of lava shoot out of volcanoes and reach the Earth's surface.
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.