The moderation works based on votes one one of a few pre-canned reasons from several different users. If enough users vote to close, the pre-canned response that the most voted for is what is listed. That means that it doesn't always exactly match the reason that the question was really closed, but it means that it's possible to give an approximate rationale for the close that was performed by several people, not a single person.
I have answered a lot of questions on StackOverflow. One of the worst type of questions is the "please, write this code for me" question. There are frequently lazy or incompetent programmers who just ask for code to do their job, along with students who are asking people to help them cheat on their homework. So many people on SO are very quick to downvote and close any such questions.
Now, there's a grey area. Asking how to do one specific task which is a small component of a larger program is different enough than asking someone to deliver a completed program to you that it's tolerated. Asking something like "how do I use this one facility in a language" is different than asking "please write this tool for me."
There's also just the fickleness of the crowd. Any site which is based on voting, like StackOverflow, Reddit, HN, and so on, can have some questions upvoted and some downvoted due to sheer bad luck, different sets of people looking at different sets of questions, and so on. Trying to expect that a large group will act in a coherent manner, when only a small subset of that group ever even sees any given question (and with strong bias, as different people follow different tags), is just going to set you up for disappointment.
> nobody who's fundamentally asking other people to just do their work for them is asking about text->html transformations in elisp, it's pretty easy to read between the lines and see that.
Actually, take a look at melling's later comment: https://news.ycombinator.com/item?id=9126537
> Elisp isn't the most widely used language so coming up to speed could be time consuming.
Yep, sounds like he was just asking someone else to do a job for him, he wasn't interested in learning elisp.