You don't manage a historically bad offense and then keep your job.
In what way is the Giants' offense "historically bad?" Looking at the charts, they're squarely middle-of-the-road (16th out of 30) in run differential at -15.
At the bottom in differential is Oakland, at -307.