If they're feeling cornered or threatened in some way, they might vocalize to express their fear, whether in screams or cries. A loud sound can also be a defense mechanism when they feel trapped; by screaming, they may startle their foe and open up an opportunity to escape.