How is a valley created by water different than a valley created by a glacier?

http://science.nationalgeographic.com/science/earth/surface-of-the-earth/valleys-article/

http://geography.about.com/od/physicalgeography/a/valleyformation.htm