Different values for get_author_posts_url and get_the_author (posts 2 posts)

Sebastien’s answer got me on the right track. I should not be using the_author, because I am not looking for the author of a post (My query is not returning a post, but a user), rather the name of the user.

I changed:

echo get_the_author($spost->ID);

to

 echo $spost->display_name;