Making money means running a business, and running a business requires more than just creating something. You also have to identify a good market for that creation, and find a way to distribute to them, and provide a viable model for them to pay for it, and (the hardest part) out-compete all the other businesses who are doing the same.
This is true for cooks. It's not good enough to create a meal. You have to also scope out the local market, find a good location, build a restaurant or a stand, attract customers, and sell your meals. And if you aren't willing to do that, then you either need to accept cooking for free, or going to work for a restaurant who's going to do all those hard parts and take the bulk of the profits.
This is true for computer programmers. It's not good enough to write a program. You also have to build a business, find customers, attract them through ads or marketing or viral growth, collect credit carts, and sell your product. And if you aren't willing to do that, then you either need to accept coding things that make no money, or go to work for corporation or startup who will pay you a salary while collecting bigger profits.
Etc.
For some reason artists are the only group that makes a big stink about this situation, and feels that they should get the benefits of running a business without doing the work or taking the risk of running a business.