Strava will often use changes in GPS position to calculate speed. Unfortunately, GPS position has a fairly large error so the speed can jump around a bit. Because the GPS 'noise' is random, the total distance will be accurate as the little errors average out to zero over the course of a ride.