Each lava bomb is a ballistic projectile launched from the crater: h(t) = h0 + vy t - ½ g t², x(t) = x0 + vx t (+ a constant wind drift). Predicted apex height above the vent is vy²/(2g); the readout compares it with the highest bomb actually reached.
Real eruptions add gas expansion, air drag and buoyant plume rise (plume height scales roughly with the 1/4 power of eruption rate), and bombs cool by radiation. Here gravity default 26 is an arcade value (Earth 9.8 m/s² at scale 25 m per unit gives 0.39 units/s²); the smoke column is a decorative particle system, not a fluid solver.