Project Gutenberg is subject to U.S. copyright law. If it is published on Gutenberg, then either it is in the public domain in the US or they have explicit permission to publish. Most such works are in the public domain in the US, which means that anyone can do anything they want with it (including selling it on Amazon). If you buy a book from Amazon, it is my understanding that they are warranting that they have permission of the copyright holder (if any) to sell it to you. Even morally, buying from a reputable vendor would seems to be enough.
See
Gutenberg:Copyright FAQ.