Gas converts untrusted work into protocol accounting
A deterministic runtime assigns protocol costs to operations and charges before performing them. Wall-clock timeout alone is unsuitable for consensus because validators have different hardware and scheduling. The schedule must also cover memory growth, storage and expensive cryptographic work.