One is a survey in which people have to participate actively (so there is a bias in favor of the languages with more vocal users) and the other one is a sample of an indicator (of popularity? of complexity? other?)
I'm not surprised that they give different results. You can average the two rankings and get something maybe closer to the real popularity.
You can also rank languages by number of repositories on github and get a ranking with a different bias.