Discover Weekly specifically requires artists to "pitch" their songs to Spotify. If you're already following the artist, their new releases that have been pitched are supposedly guaranteed to show up on your Discover Weekly. Otherwise, I believe it's someone at Spotify who picked that song which then distributes it to "relevant" listeners.