The active maintainer(s) get paid for doing ongoing work, the same as any other job. That creates incentive to be the maintainer of a project. If the maintainer(s) isn't/aren't active, then there should be incentive for someone else to take over. Same as any other job.