Rock microstructure intrusions are a result of uninterrupted slow cooling. When a rock cools too quickly the liquid freezes into a solid glass, or crystalline groundmass. Often vapor loss from a magma chamber will cause a porphyritic texture. "Embayments" or 'corroded' margins to phenocrysts infer that they were being resorbed by the magma and may imply addition of fresh, hotter magma. Ostwald ripening is also used to explain some porphyritic igneous textures, especially orthoclase megacrystic granites. A crystal growing in a magma adopts a habit (see crystallography) which best reflects its environment and cooling rate. The usual phenocryst habit is the ones
Lava tube or from pāhoehoe flows where the lava is moving under the surface. Lava usually leaves the point of eruption in channels. These channels tend to stay very hot as their surroundings cool. This means they slowly develop walls around them as the surrounding lava cools and/or as the channel melts its way deeper. These channels can get deep enough to crust over, forming an insulating tube that keeps the lava molten and serves as a conduit for the flowing lava. These types of lava tubes tend to be closer to the lava eruption point. Farther away from the eruption point,