Some of that sounds like training.
Around here they had a LEO handler and K-9 that used to attend public events. The dog nipped at people and they were not taunting the dog or going up to it. That was the end of the visits. The handler passed away several years ago and someone in LE later advised me that the handler was not working his dog enough and that this led to behavioural issues of the K-9.
Could be…