Object A increases in mass, and so increases in volume.
That's not necessarily true. Some objects such as white dwarfs and neutron stars decrease in volume as mass increases.
Is there some sweet spot of maximum gravity?
The answer depends very much on what kind of object the mass is being added to, on the kind of mass being added to the object, and the nature in which the mass is being added.
Looking at the problem generically, suppose that in the neighborhood of some mass $M_0$ and radius $R_0$, the relationship between size and mass is given by
$$R = R_0 \left( \frac M {M_0} \right)^\alpha$$
Assuming the object has not yet entered a state where relativistic calculations are needed, the gravitational acceleration at the surface of the object can be calculated with Newton's law of gravitation, $g=GM/R^2$. Using the above mass-radius relationship, this becomes
$$g=g_0 \left( \frac M {M_0} \right)^{1-2\alpha}$$
where $g_0 = GM_0/R_0^2$. A local sweet spot occurs where $dg/dM$ switches from positive to negative. This occurs at $1-2\alpha=0$ or $\alpha = 1/2$. Adding mass will increase surface gravitation if $\alpha < 1/2$, decrease it if $\alpha > 1/2$.
This exponential coefficient $\alpha$ varies considerably depending on the object at hand. The table below shows the coefficient for different types of objects.
$$\begin{matrix}
\text{Object} & \alpha & \text{Transition} \\
\text{---------------------------} & \text{------} & \text{-------------------------------------} \\
\text{Large gas giant} & ~0 & \text{Brown dwarf} \\
\text{Brown dwarf} & ~0 & \text{Stellar ignition} \\
\text{Red dwarf} & 0.9 & \text{Non-convective core} \\
\text{Sun-like star} & 1/13 & \text{CNO cycle takes over} \\
\text{Intermediate mass star} & 15/19 & \text{Radiation pressure dominates} \\
\text{Large star} & 1/2 & \text{Eddington limit} \\
\text{---------------------------} & \text{------} & \text{-------------------------------------} \\
\text{Small white dwarf} & -1/3 & \text{Fermi gas becomes relativistic} \\
\text{Large white dwarf} & < -1/3 & \text{Explosion or neutron star} \\
\text{Small neutron star} & -1/3 & \text{Fermi gas becomes relativistic} \\
\text{Large neutron star} & < -1/3 & \text{Explosion, exotic object, or black hole} \\
\text{Black hole} & 1\,\text{(see note)} & \\
\end{matrix}
$$
Note: The surface gravity of a black hole is not well-defined. I'm using the Schwarzschild solution for the surface gravity of a black hole whose event horizon is a Killing horizon.
From the first half of the table, there are a couple of "sweet spots" that result from adding hydrogen. The first occurs at the transition from a brown dwarf to a red dwarf, about 1/10 of a solar mass. The second occurs at the transition from the pp chain to the CNO cycle, which occurs at about 2 solar masses. The first sweet spot is much sweeter than the second. The largest mass brown dwarf has a significantly greater surface gravity than does the largest Sun-like star.
There are another couple of sweet spots from the second half of the table, the Chandrasekhar limit of about 1.4 solar masses for a white dwarf, and the corresponding limit of 2 to 3 solar masses for a neutron star. If you can somehow coerce the object to move past those limits without having the object explode, do so. A neutron star just above the Chandrasekhar limit is much smaller in diameter than is a white dwarf just under that limit, and a 2 to 3 solar mass black hole is in turn much smaller in diameter than is a neutron star.
Once you've reached a black hole, you need to stop adding mass. The Schwarzschild radius of a black hole is proportional to mass. Adding mass decreases gravitational acceleration at the Killing horizon.