Lava? Or maybe not...
Though it is dark, it has holes that resemble bubbles and has the shape similar to what you often see on the pictures from Hawai’i, believe me it is not lava. Actually, what you see originally was a shale, very contrasting to basalt lava which it resembles.
What you see is called ferricrete. Ferri-, refers to iron and -crete to concrete, as it consists of material cemented together by the iron oxide. It forms beneath the soil by accumulation of iron particles that first form nodules (reddish spots in the upper part of the profile) which slowly grow until they eventually join together to form something like this (lower profile).
This spectacular exposure is attributed to it proximity to the sea, as this beach side cliff is splashed on by the waves every day, which remove the clay that is among the nodules leaving this porous texture well exposed.
Example from Dee Why Beach, Sydney, Australia.





