There's a whole theory on that.
https://en.wikipedia.org/wiki/Argument_from_poor_design
https://en.wikipedia.org/wiki/Argument_from_poor_design
Quote:The argument from poor design, also known as the dysteleological argument, is an argument against the existence of a creator God, based on the reasoning that an omnipotent and omnibenevolent God would not create organisms with the perceived suboptimal designs that can be seen in nature.