Sure, we can't, but if you open source it, you'll make strictly less money than if you hadn't (because if nobody was going to buy it, they aren't going to pay you money if you open source it anyway).
This is too simplified, as you can have other monetization models, but usually you don't open-source things if you want to charge for them.