Refinery maintenance can reduce the supply of gasoline available, leading to increased prices when demand remains high or supply is limited.