That sounds like our dog, have to take her way up in neighbors' front yards to avoid confrontations. Strangely, there are a handful of neighbors' dogs that she ignores. Across the street, neighbor has two bird dogs in a yard with an electric fence. They bark a little bit at our dog, but she hardly notices.
OTOH, there are several other dogs that other neighbors walk which send my dog into orbit, just literally hates them and wants to start a fight as soon as she sees them round the corner.
We suspect our dog does not have all the oars in the water, but at her age, what the hell are we going to do?