Driftwood is wood that has been washed onto a shore or beach of a sea, lake, or river by the action of winds, tides or waves. It is part of beach wrack.
The main effect of extrusion is that the magma can cool much more quickly in the open air or under seawater, and there is little time for the growth of crystals.