Stack Exchange is aware that it can be unfriendly to newbies, and indeed as I write this there is a message directly above where I am typing:
newbie is a new contributor. Be nice, and check out our Code of Conduct
I know very well that when you have a problem you want a quick solution and you don't really want to muck around reading about how to format your question, blah blah, you just want an answer.
However there are quite a few people here who are basically here just to help. Just as an example Edgar Bonet has asked one question but answered 745 at the time I write this. There are lots of other users like him, who look at the site every day and try hard to be helpful.
So sit back for a moment and imagine what it is like to try hard every day to help people with their Arduinos, and then see questions which are so poorly written it is almost impossible to help. I don't mean dumb questions (there aren't dumb questions) but just insultingly badly written questions. For example:
There is no obvious question, or even a question at all. Perhaps just a dump of an error message followed by the word "help!". Or, worse, just the comment that they "got an error" and "how do I fix it?".
The code is unreadable because the poster hasn't taken the time to find how to format it (ie. selecting it and pressing Ctrl+K). Not only that but after making their post, and seeing it look like gibberish on the screen, they don't make an effort to find out what is wrong, when something obviously is.
We are told there is an error but the error isn't actually quoted. As you know, compilers generate lots of error messages, so just being told "I got an error" is virtually a useless thing to say.
I've done a Meta post about How to ask a good question and I sort-of hope that newbies will read it. However judging by the sort of questions asked, I doubt that many do.
So, at the end, our regular users (the people who answer questions) can sometimes get a little terse when confronted with a question that seems to show that the poster hasn't really tried very hard to help him or herself to start with (such as searching for the solution before asking).
Is it because people want to get that "badge" related to down votes and just looking for something that is a bit wrong to press that down button?
No, I don't think people are motivated to get that badge. As Ghanima pointed out, the badge you are thinking of is "Critic". You only get that once, and I suppose the point of it is to encourage you to down-vote bad questions. I mean, if you don't tell someone that they have done something wrong (hopefully politely) then they will continue to do that wrong thing, won't they?
Your question is a good one -- it can be frustrating to be down-voted, but it also can be frustrating to see a really badly formatted and incomprehensible question. It would be great if everyone followed the Code of Conduct and also if people asking questions read How to ask a good question.