The tides from the Sun are far stronger on Mercury when it's at perihelion, the closest point in its orbit to the Sun, than when it's at aphelion, the farthest point in its orbit.
The corresponding change in gravitational force causes the Earth to move fastest in January, when it reaches its closest point to the Sun, the perihelion, and the slowest in July, when it reaches its farthest point, the aphelion.