The box is being pulled horizontally, so any work done on the box must be done by forces that are parallel to the ground. But gravity always points downward, which is perpendicular to the surface in this case, so the gravitational force performs B. 0 J of work.