Dams store a large amount of water and the water pressure increases with the depth of the water, so the pressure of the water hitting the dam horizontally is greater at the bottom than at the top. If holes are made in the lower, middle and upper parts of the dam, the water will come out from the bottom hole with high pressure, because the water pressure is the highest at that place.