It is synchronized with the target that appears on a player (I believe the green line add puts the target up). When the target appears both adds will do the 360 attack. Though it might seem random it can be avoided with vocalized communication. Soon as the target shows up people have to call it out so melee moves out to avoid and goes back in.