My thought is that you're focusing on the "gratis" part of FOSS, whereas I'm over here in the "libre" side of the house - as a (now) Linux systems guy, when (foo) doesn't work I reach and go down that rabbit hole of code until I figure out what's wrong and we fix things - that is what Open Source is about to me, it has no underpinnings of monetary compensation, it's all about two (sic) people who don't know each other being able to randomly see each other's code to solve the problem at hand (and then possibly submit fixes, bug reports, etc.). I've traced tons of open source software to solve problems both personally and professionally.
Getting paid for open source is a relatively new thing in my life timeline, I don't honestly subscribe to that idea but to each their own. I do, however, recognize the time effort and energy it takes to create said software, so I personally take these tech dollars I make at $job and donate to a lot of open source initiatives, coders and even public radio stations bringing me "free" music. There's no such thing as a free lunch as a wise sci-fi author once wrote.
If you're doing this for the pure joy of programming, you're already rich in spirit - Amazon taking your software and using it is actually a tribute.