This is one of those situations where it would be almost impossible to explain to an outsider. You have to live through it to know exactly how it works. This is an example of why this religion can be considered a cult.
Technically speaking, only DFd and DAd people are shunned. Inactive ones are to be encouraged and helped. But then, at times, it is brought out that one must be wary of those who are not active. While never suggested that inactive ones should be shunned, it is cautioned that those who longer actively associate with the congregation can be damaging to others.
The counsel is contradictory to a point. Help them...but don't trust them. Encourage them...but don't socialize with them too much. Talk with them...but be careful about listening to what they tell you.
That kind of counsel repeated over and over through the years creates in the still active, a fear of and mistrust of those who become inactive.
That's what the WTS wants...for their sheep to steer clear of any who might present a problem for them.
Notice also that almost always, those who become inactive are presented as needing help...creating the perception of the inactive as weak.