Many of the formations were deposited in warm shallow seas, near-shore environments (such as beaches), and swamps. The seashore repeatedly advanced and retreated over the edge of a proto-North America.