Your manager was yelling at you because he was concerned about losing customers and you just became the focus because he can't yell at the customers.

Clearly this manager has poor management...