Lava tubes are usually produces by pahoehoe.
Both a'a and pahoehoe lava types can create lava tubes, but pahoehoe lava usually forms smoother, more continuous tubes due to its lower viscosity and higher flow rates. A'a lava tubes are typically more irregular and blocky, formed by the slow-moving, cooler outer crust of the flow.
Pahoehoe
The lava is pahoehoe Lava.
The difference between Pahoehoe lava and AA lava is that pahoehoe lava is smooth and AA lava is jagged.
The smooth and shiny lava is called pahoehoe.
When lava hardens quickly to form a ropy formation, it is called pahoehoe lava.
Magma does not become paho'eho'e. It either comes out fast [pahoehoe] or slow [a'a]. I'm not sure about the cooling rate of the magma because you did not provide your question with a descriptive answer of its viscosity, temperature, etc.
Pahoehoe is faster moving lava and AA is slower moving lava. Both types are found in basaltic type eruptions. They have different appearances. Pahoehoe is smooth and ropey where as AA is chunky and rough.(much like top of trees) Often a pahoehoe flow can change to an AA flow depending upon the type of slope it encounters. The steeper the slope the more likely AA lava will be present. Aa has more viscosity than Pahoehoe.
all lava
Pahoehoe lava, Aa lava, and Blocky lava
Fast moving hot lava with low viscosity is called "pahoehoe." It has a smooth, ropy texture due to its high temperature and low resistance to flow.
Basaltic lavas can be either pahoehoe or a'a lava types. Pahoehoe lavas have smooth, rope-like textures, while a'a lavas are rough and jagged. The type of lava formed depends on various factors such as temperature, composition, and viscosity.