Foidolites is a fine-grained, hard rock which is a type of metasomatite, essentially altered basalt. It forms with or without crystallization, either below the surface as intrusive rocks or on the surface as extrusive rocks.
Shale forms when very fine-grained clay particles are deposited in water which settle at the bottom of water bodies. They are later compacted hence forming shale.