Partly choice, partly company pressure on project's key developers (in terms of influence, not code quality or code contributions) to move to GitHub.
Companies love GitHub because they think it provides metrics. Mediocre developers (the kind that gets influence in OSS projects) love GitHub because they appear productive.
The number of contributors to Open Source Software has also grown by one or two orders of magnitude since Github came into being and standardised the pull request, replacing sourceforge (yuck), custom bug-trackers (with bugs tracked in yet another custom bug tracker) and mailing lists.