How can the same gas station company charge different prices in different areas?

For example, let's compare two BPs up here in Minneapolis. One is charging $2.12/gallon while the other (not more than 5 miles away) can charge $1.89 on the same day?

I assume it has to do with the availability of the petroleum in the areas, but I'm not positive. Please explain.
Zone pricing is common in the gas industry. [3][4] It occurs when gas wholesalers charge station owners more for the same gas, sometimes even gas delivered in the same truck. [3] Usually, stations in towns close to the border of a state with higher gas prices tend to have to pay a higher wholesale price. [4]
The reason for gas price differences from station to station is rooted in the fact that many things go into setting gas prices [3]. Starting with the price of crude oil, which has the most significant effect on pump figures, but it’s not that simple [3]. The “black gold” market doesn’t account for price differences from station to station in the same city on the same street [3]. That’s because layered on top of the crude oil prices are other expenses like refining, transportation, taxes and marketing [3]. Along most steps between rig and pump, profit gets added to the equation [3]. All that is to say determining gasoline prices is complicated, and the result is that from state to state and even corner to corner, prices vary — greatly [3]. The average profit margin on a gallon of gas is about 10 cents, and the variance can be as high as 20 cents per gallon [1]. Other factors that affect gas prices include the availability of the petroleum in the area, the volume of gas sold, the brand of fuel sold, and competition [1]. convenience stores account for 61% of revenue dollars but only 36% of profit dollars, meaning that gas sales drive traffic but in-store sales drive the business