What I am told is that when recircs are off, any virus could travel through a larger part of the cabin before it is vented out the outflow valves.
And with the recircs on, the cabin air is extracted more locally and while being recirculated back into the cabin, any virus would have been caught in the HEPA filters.
So it is better contained by keeping the recircs on.