Material becomes available and the cell wants to use it to gain energy and carry out cell jobs.
Material is not available so the cells have to synthesize its own until it becomes available. When available the synthesizing gene turns off.
Usable material is available but the cell already has a better material so the 1st gene is suppressed until better material is used up.