To piggy-back on Yak's comment, many times the company first to market, who does a great job marketing the product and most importantly, builds a great brand name, will capture and hold top of mind of the consumer when it comes to your product versus your competitor.
You can have the stupidest product out there and with great marketing behind it, people will buy it. And you can also have the greatest product out there and with a poorly designed and executed marketing plan, the product will flounder.
It's all about the marketing!!!