This is a good question, and there is no metaphore here. When a dam is constructed, water is trapped behind its walls and a man-made lake is created. The action of barricading the water floods previously dry land.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.