When the engine is idling, a very little air flows pass the hot wire, so it takes very small electrical current to keep the wire hot. When you press the gas, the throttle opens allowing more air to flow over the hot wire. The passing air cools the hot wire down; the more air flows over the wire, the more electrical current is needed to keep it hot. The amount of this electrical current is proportional to the amount of the air flow.