A 32-bit field miners change. It runs out quickly at modern speeds, so miners also change other data (the 'extra nonce' in the coinbase) to keep searching.
Where you learn this
Class 4.3: Mining: the work, the reward and the halving, in Module 4: Consensus and mining.
