Different number of posts showing in development vs production server

As noted by @s_ha_dum, I had some sticky posts. I had to use the

'ignore_sticky_posts' => true 

argument inside the WP_Query.