When dinosaurs walked in Zion National Park they left imprints in moist, muddy sediments near watercourses. These tracks remained exposed for a short while, allowing them to become drier and harder. Then the imprints slowly filled with contrasting sediments and eventually were preserved in rock.