There’s an etiquette, or an expectation, that when traveling in the rural parts of the country and you come across a gate, if you need to go through it, you open it.
More importantly though, after going through the gate you’ve opened, you always make a point of closing the gate after you go through it.
This etiquette also applies to many aspects of life in the city.