It's just the equivalent of speaking loudly. There are reasons to shout that aren't related to anger. "YO DID YOU SEE THAT? IT WAS SO COOL!"