Mine do it when they are hot to cool down (like a dog would). Panting releases heat from the body and exposes blood rich areas of the mouth to the cooler outside air to cool the blood.
I haven't noticed them doing it in response to aggression, just when they are hot.