Every action who replenish mana or life ( using a potion too ) generate aggro. And same goes for viper, is dumb but work this way

Players can generate threat by dealing damage, healing, casting beneficial buffs, and removing harmful debuffs. You can also get it from generating large bursts of Mana, Rage, or Energy.