Exactly the same action, deemed legal in one set of circumstances and illegal holding in another.
Except it isn't the same action. In the first case, B50 grabs A60, pulls him away and releases. In the second, B50 grabs A60, pulls him and does not release.
Rules actually pretty well define what is illegal. For team A: "The hand(s) and arm(s) shall not be used to grasp, pull or encircle in any way that illegally impedes or illegally obstructs an opponent."
For team B, the language is: "Defensive players may use hands and arms to push, pull, ward off or lift offensive players when attempting to reach the runner."
and "When no attempt is being made to get at the ball or the runner, defensive players must comply with Rules 9-3-3-a, b, c and d."
As I understand the English language (bear in mind that I'm not a native speaker), "holding" is "keeping in the same place", and "pulling" is "moving away". Very different concepts and the rules use these separately.