Probably from the same as 'agam (in the sense of stagnant water); figuratively, sadpond. see HEBREW 'agam