Why didn’t Moody send Harry to Voldemort when they were alone in his office instead of hatching a huge elaborate plan? Why didn’t Frodo fly to Mordor on eagles? Why did the Careers decide to sleep under Katniss’ tree instead of just killing her in some other way?
Image from the Harry Potter Wikia
The people who see these things as plot holes assume that characters always make the best possible choices. According to that, Voldemort’s plans must always be the quickest and most painless way to his goal, Frodo and his friends never make mistakes strategizing and young stressed teenagers always make the best choices. But these things just show that the characters aren’t perfect, one-dimensional beings.