Pressure on any point inside the liquid increases with the increase in depth of the free surface. Since dams are very deep, pressure on . the bottom surface of the dam is maximum. That is why walls of the dam are made thick from the bottom. When water travels upwards, pressure start decreasing, hence walls are made thin on above areas of a dam.