Sounds like the dog went to its boundary, stopped, and barked.
That is just typical dog behavior that can be eliminated with some training, and socialization. Dogs that are kept in a yard alone all day tend to behave like that. Those are the kind that I seem to encounter most.
Goes to the boundary, stops, and barks is fine. Pursues, growls, or attempts to bite isn’t. Pretty reasonable line, IMO.