Putting aside the matter of downvotes (it didn't seem to be essential to what you're trying to understand here, and I edited it out of the question for focus - as part of trying to make sure the question sounds like a genuine question and not a rant or complaint), I think there are really three issues entangled here:
Why are questions closed so quickly?
Why not leave comments explaining the problem, instead of or in addition to voting or flagging to close?
Why do these close reasons exist - i.e., what motivates the quality standard on Stack Overflow, and why is question closure a part of quality enforcement?
The first is essentially a duplicate of How long should we wait for a poster to clarify a question before closing?, and the second is adequately handled by Why isn't it required to provide comments/feedback for downvotes, and why are proposals suggesting this so negatively received? (yes, I know I just finished saying that this isn't about downvotes - but all the same rationale applies to close votes and flags).
So this answer is about understanding why we close such questions at all.
Exactly as EJoshuaS says - this is not a help forum, but a Q&A site. This has far-reaching implications that aren't always obvious - the tour tries to explain, as does the proposed FAQ What is Stack Overflow’s goal?, but these give an incomplete picture. But for current purposes, the important point is that when someone answers a question, it's not just for the OP, but for everyone that might have the same question. Even totally ordinary questions get dozens of views here; interesting ones about hard (but simple to describe and properly focused) problems can easily get thousands; the most important reference questions for common techniques etc. are in the millions. Therefore:
The fact that OP needs an answer to the question is not important (and is not even guaranteed; it is acceptable and even encouraged to ask a question you don't need answered, even one you can answer yourself, even deliberately - as long as both question and answer meet standards.
It's perfectly fine if reopening a question is slow, as long as that ensures quality - because OP's urgency does not outweigh everyone else's need for quality.
It doesn't matter if someone can understand the question and figure out an answer - what matters is that people who read the question later can understand it and verify whether they have the same question, and that the question is title's properly, and that they've understood what the question is about.
Effort spent on an answer to a question that doesn't meet standards, is essentially wasted - because the question will make it harder to connect that nugget of wisdom to the people who need it. It could be redeemed if the question were improved, but existing answers make it harder to make valid edits to a question. We want to close these questions before they are answered, so that they can be fixed first. To emphasize: closing a question doesn't delete it and doesn't stop edits. In fact, it's explicitly and specifically a "please edit this" state, in the case of the close reasons you describe (i.e., the ones where an edit from the OP could actually fix them).
Finding a bug in one person's code is not doing a service for everyone, because other people don't have the same code. Even if they have the same bug, it will be found differently. Therefore, we expect people to find the bug themselves first, and ask a "debugging question" only with a proper minimal reproducible example - the result of that search process. The question then is not "where is the bug?", but "why is this a bug?".
Answering multiple questions at once is not doing a service for everyone, because other people normally don't have the same set of questions. Even on the rare occasion that they do, they couldn't expect this, nor could they anticipate that a given question post (with a title describing one question) involves all of them. Therefore, we expect questions to be properly focused and only ask about one thing at a time. That way, people can do web (or site) searches about one specific question at a time, and find clearly stated answers one at a time. That might sound slower, but it has a vastly higher success rate.
Reading OP's mind and figuring out what the problem is, is not doing a service for everyone, because other people won't have the same muddled understanding. Anyone who wants to do a web search to find an answer to a problem, needs to understand clearly what the problem is first - search engines won't be able to correlate two differently stated, muddled descriptions. Even if someone isn't 100% on the details, can't find the Q&A, and asks a duplicate, it's still important for the duplicate target to explain the problem clearly - because people can understand clear explanations better, even when they can't come up with one themselves.
Successfully guessing what the problem is despite a lack of debugging details, is not doing a service for everyone, because someone else could have a problem that looks the same but is actually completely different. Including debugging details in the question makes it easier for everyone to be sure that they are talking about the same problem - the OP, the people writing the answers, and future readers.
Your post lacks enough information to investigate the problem. It's hard to help with code issues without seeing the relevant parts of the code—a description of the code is usually not enough. To enable others to help you, include a [mre], along with the exact text of any error messages (including, for any exceptions, the full [stack trace](/a/23353174), as well as which line of code is producing it). For more advice, please see [ask].
I've yet to see a generic one that does a good job of explaining what's wrong to a new user.