Yelling at your employees is a poor management style.
Andy is a manager and one of his subordinates just made a huge mistake at work.
Andy wants to make sure this kind of mistake never happens again.
Andy gives the employee a warning making it clear there will be only one.
Andy raises his voice to a shouting level at his subordinate when discussing the problem.
Andy's subordinate learns to be more careful in his work.
The employee feels distressed and that he is in a hostile workplace.