Atmospheric pressure is affected by several factors, the most important of which are:
Temperature: Atmospheric pressure is mainly affected by temperature. When the air temperature rises, it expands and its density decreases, so the atmospheric pressure decreases, when the humidity in the air is stable, and the opposite happens for cold air. Provided the humidity is constant.
Humidity: Atmospheric pressure is affected by humidity because moist air is lighter in weight than dry air, depending on its temperature.
Terrain: the atmospheric pressure is greatly affected by the terrain.
The difference in specific heat between land and water .