Question: how are dykes rocks formed?
Answer: Dikes can be either magmatic or sedimentary in origin. Magmatic dikes form when magma flows into a crack then solidifies as a sheet intrusion, either cutting across layers of rock or through a contiguous mass of rock. Clastic dikes are formed when sediment fills a pre-existing crack.