In 2176, the asteroid Ganymed will come as close as 0.02868 AU (4,290,000 km / 2,670,000 mi) from Mars. That's pretty close to Mars imho. Can Mars' gravity alter Ganymed's orbit significantly in 2176 and if so, how much would it change? Just curious. Ganymed is a near-Earth object after all, and one at global killer size.
Ganymed's Mars approach in 2176 is only moderately close: 4.4 times Mars's Hill sphere radius or 11 times the average Earth-Moon distance. JPL HORIZONS predicts these heliocentric orbital elements (J2000) before and after the encounter:
The change is slight.
With respect to Potentially Hazardous Asteroid criteria, Ganymed is large enough (H = 9.4 < 22) but can't get close enough to Earth (MOID = 0.34 au > 0.05 au).