It’s controversial because it is sometimes used to support the idea of a multiverse. Otherwise, it should be common sense to assume that a venue in which we exist must feature conditions that allow for that. But the multiverse does not need logic, evidence, or science.
Source: Sabine Hossenfelder on why the Anthropic Principle is controversial | Uncommon Descent