When a block contains more than its max (usually 8) components it can be said to be under pressure. It checks down, then the sides, then up as directions for possible flow. If no flow is possible, then it checks for possible expansion in the reverse order.
Lava springs and water springs function like this.
Some dirt burrowing creatures may cause pressure