Why does this article read like the robot actually got angry at a spectator. It did not, it does not have that capacity. This was definitely a glaring safety issue and the company should review all its failure modes that show up in public but an ”emotional” response this was not.
Also take into account that these humanoid robots are specifically designed to integrate into spaces which usually were not used by robots before, which immediately means more potential contact between them and non-trained personnel, even civilians.
I feel we are quickly approaching ST:TNG "The Measure of a Man" territory here: At what point does a machine stop being a machine and becomes a being, a strange, technological being, sure, but a being nonetheless. After all, there's a good argument to be made that we are essentially biological robots.