That is because the difference of 2 timestamps is a "duration". Then timestampdiff approximates that in whatever units (in you case days).
Yeah, that approximation seems a little silly, considering for days it is entirely calculable. IMO, dropping a day for each leap year across many years makes timestampdiff of limited use . . . Though apparently that's a known limitation.