There can be many ways open sources comes into being. The way any open source software I've written is I've needed it myself and made it available to others. There has never been an expectation of getting paid for it, it doesen't even matter if anyone ever uses them, because the software's primary purpose is to solve _my_ problem