It can be at least inferred that the rocks cooled quickly enough to retain the shape of the gas bubbles, and that they are therefore extrusive igneous rocks.
Volcanic rocks with gas bubbles are called vesicular. This, however, is a descriptive term rather than an actual rock types. Some vesicular volcanic rocks include pumice, scoria, and vesicular basalt.
the holes in extrusive igneous rocks (lava) are called vesicles. They are formed by gas escaping from the rock when molten, leaving bubbles in the melt which which may be preserved when the lava solidifies
In rocks such as basalt, scoria, and pumice the holes are formed from gas bubbles that were escaping from the molten rock as it cooled.
Textures of volcanic rocks include aphantitic (mineral grains are present but microscopic) , porphyritic (some grains are visible to the naked eye), glassy (all or much of the rock lacks a crystalline structure), and vesicular (solidified gas bubbles are present).
Solid: volcanic rocks of very different compositions Gas: air and volcanic gases
it could be gas or just few rocks.
how the holes may get there is from the hot lava or magma and since it is very hot it may cause the holes i am not to sure though about my answer.When rocks are heated to melting point, bubbles of gas can get trapped in them. When the rock cools, the gas is left as a hole. Volcanic rock is chock full of holes.
Volcanic rocks form from lava that cools quickly on the Earth's surface, while plutonic rocks form from magma that cools slowly beneath the surface. Volcanic rocks have fine-grained textures, while plutonic rocks have coarse-grained textures. Additionally, volcanic rocks often contain gas bubbles and may have a glassy appearance, while plutonic rocks are typically more crystalline.
the holes in extrusive igneous rocks (lava) are called vesicles. They are formed by gas escaping from the rock when molten, leaving bubbles in the melt which which may be preserved when the lava solidifies
Holes in igneous rocks are typically formed by gas bubbles getting trapped in the molten rock as it cools and solidifies. These trapped gas bubbles then escape as the rock solidifies, leaving behind cavities or holes.
Pumice is a type of volcanic glass that contains holes caused by pockets of gas trapped during its formation. These holes give pumice a lightweight and porous texture, making it commonly used in beauty products and as an abrasive.
Frothy rocks are caused by violent volcanic eruptions shoot out lava filled with gases. the lava cools quickly, while it is still in the air, and reaps the gases inside. rocks that form this ay are full of holes . two examples of these rocks are pumice and scoria