It doesn't matter what kind of bear it is. A mama bear with cubs can be an indecisive critter. If they feel there's a threat,, they will defend their cubs. If they think a retreat is a better idea,, they will.
But to see it advance a few times,, even after the woman is yelling,, says to me,, "Not good." But to have a second person appear,, the bear may have felt out-numbered,, and chose retreat.
Just like people are when on the street. The thugs will try & select a "weaker looking" victim to attack,, while a person who projects a strong attitude,, or when there are numbers,, the thugs retreat.
Either way,, those two appear to have gotten their bear education in a fashion I call: "Education by Disney!" Which is often WRONG!!!!!