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.
The glassy surface with lots of small holes in the rocks is typically associated with volcanic rock called pumice. Pumice forms when volcanic lava cools rapidly and traps gas bubbles, creating a lightweight, porous material. Its glassy texture and numerous holes give it a distinctive appearance, making it useful in various applications, including as an abrasive in beauty products and in landscaping.
The air holes in extrusive igneous rocks are called vesicles. They form when volcanic gases escape from the molten rock as it cools and solidifies, creating bubbles that leave behind these cavities. Vesicles are commonly found in rocks like pumice and basalt, indicating the presence of gas during the solidification process.
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.