I think strava's elevation data is pretty good. For the most part my garmin is pretty close but every once in awhile i'll have gps errors, mostly in wet weather, and have to use the "correct elevation" feature.
But yeah who knows where the tf stuff comes from. Possibly from less precise gps date and trying to calculate as it crosses terrain? Like riding across a canyon on a bridge, but the topo data thinks you descended and climbed back out. So that, only on a very small scale, but continuously over the whole ride.
https://support.strava.com/hc/en-us/...-Your-Activity
trailforks, i assume, is not quite as sophisticated.