She get mad at her for pooping?!

I just saw a video of a mom that is potty training her daughter that is maybe 1 or 2 and she got mad at the little girl for pooping in her diaper and told her she was a bad girl for it?! Like WTF?! You're potty training her sometimes kids have to go! Don't get mad at a little girl for pooping. Just changed her diaper and tell her next time to go in the big girl potty!!