The straightforward answer is, "Because Razer is a big target and it's easy." Same reason people like to complain about Microsoft, Apple, and a lot of other companies, but that doesn't begin to answer all the underlying things.
Razer has had problems with its products, no denying that. A lot of people forget nearly every manufacturer has. Consider that people are usually much more vocal about negative experiences than they are about neutral ones. So if you see a lot of warnings on Newegg or Amazon about something being junk, take it with a grain of salt. People are much more likely to leave negative feedback about a product they didn't like than they are to leave positive feedback when something meets their expectations. Chances are there are lots of satisfied customers out there who simply left no feedback while most of the dissatisfied customers did.
Razer is expensive. I won't argue that. They often charge more for their products than their competitors charge for similar ones. And people's anger at unsatisfactory products is proportional to their cost. So someone might be upset to get a $20 keyboard that didn't live up to their expectations, but having problems with a $120 keyboard will make them furious.
Full admission, I have two Razer products: an Orbweaver keypad and a Naga mouse. I love the Orbweaver. I've had it for two years and it's been great to me. If Razer's full keyboards are just like the Orbweaver, I wouldn't hesitate to recommend them to others to at least try out. But I haven't tried their full keyboards, so take that recommendation for what you think it's worth.
I haven't fully made my mind up on the Naga mouse. I like the idea, but I don't find it nearly as comfortable as my Logitech Revolution MX. However the Revo is now eight years old and I'm not sure how much longer it will last ( and Logitech keeps screwing up the successors in the Performance MX and the MX Master ). I've also only had the Naga for two months, so I can't say much about its durability or long-term reliability.
You're going to find a lot of people who really like Razer and a lot of people who loathe them. My recommendation is to go to a store and try their products if you can. See if you like the feel of them. If you do, you can always buy it to try out for a month. Most stores will let you bring something back within 30 days for a full refund for whatever reason, so you can give the keyboard for a month to decide if you like it.