The “argument from poor design” as evidence for evolution dates back to Charles Darwin himself. The dysteleological argument, as it is formally known, goes something like this: If the world and everything in it were created by an omniscient and omnipotent creator, why are there such clear examples of quirks and glitches in living organisms, including humans? The argument is seldom used as evidence against the existence of God but rather as evidence against creationism as the explanation for how life unfolded on the planet.
On the other hand, if we accept universal common descent, as all the available evidence supports, we understand that the randomness of mutation, gene duplication, horizontal transfer, and other unguided molecular tinkering is the source of all variation. Further, we appreciate how natural selection, genetic drift, etc., have shaped the history of all species, and we fully expect instances of suboptimal design at all levels of life—from molecules to ecosystems. Evolution is aimless, clumsy, and cruel.