I wonder if it was the sound of wheels on a road coupled with a helmet.
Given the dog’s background, he may equate “helmet” with “soldier” and decided that he needed to protect his master from an unknown “soldier”
My thoughts were along the same lines as yours.