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.