Yes, assuming the child is an undisciplined “brat” just because she was crying. It would be nice if you never had to be out in public with an upset child, but even when you plan, things can go wrong.
Maybe she was planning to go shopping when her husband got home, but he called and said he had to work another shift. Maybe the child fell down. There are a variety of possiblities that can befall even a responsible mother and a pleasant child.
I have a grandson who sleeps a lot. He’ll be 3 soon and is staying awake more. However, he whined when he couldn’t take a nap. It was difficult to do anything or go anywhere. Sometimes, you just had to go anyway.