So why did it contract in a vertical direction instead of a horizontal contraction?
These ones are called Organ Pipes. Why they are not geometrically shaped at the top, I don't know.
it contracted in both directions.. however vertical contractions along with gravity just resulted in settling of the lava, where as horizontal contractions caused it to pull apart and crack. thats what i got from wikipedia anyway