@liztai I can only speak for myself, but most of my open source work starts with: "I wish X existed", followed by me starting a small experiment.
So, it's the classic case of scratching your own itch, and then sharing it with the world.
I'll freely admit that I've run out of steam on projects, when fixing bugs starts feeling like a chore. Luckily the community will often step in to help.