On every blockchain, the price of gas varies depending on how congested the network is. Each blockchain, however, have their own complex methodologies to analyze congestion levels and determine gas prices while keeping them somewhat predictable, avoiding huge spikes in price, etc.