Mechanisms of baryon loss for dark satellites in cosmological smoothed particle hydrodynamics simulations