There are many variables which could attribute to this.
Primary is driving style and route. Maybe more idle time and/or hills could make the difference.
-Types of oils in the engine and differential
-Tires, tire pressure (Nervous

)
-Spark plugs, plug wires, ignition.
-Fuel, fuel grade and winter/summer mixes
-Plugged and/or leaking fuel injectors
-Temperature
-Worn O2 sensors
-Plugged or failing CAT
just to name a few . . .
If the engines t/b were installed a tooth off, you may be able to get the ignition timing correct but it would be A) be powerless {kills mpg}, B) very torque'e {kills mpg}. Either way it would not like to idle and would likely trigger a CEL.
Has anyone successful ran an engine a tooth off either Advancing Cam timing or Retarding the Cam timing? Stretched belts (rare) and stretched chains retard the CAM timing reducing power output. So the 31mpg was not a result of a stretched belt.