It doesn't have nothing to do with it. It's much easier to sell software if it's closed source. Some people manage to sell open source software but it's obviously pretty hard to compete with some guy who just compiled your software, changed the name and is giving it away for free.