The pets tend to go passive when fighting something that either they can't reach, has phased, or teleported; not always, but these are the situations I've noticed. There's a boss in normal Crypt of Madness that teleports back to his starting spot once he gets to a certain point in his health, that teleport causes pets to go passive until you command them to attack again.