He really rubs him up the wrong tree

This is a blend of “rub the wrong way”  (irritate someone) and “barking up the wrong tree” (wrong about the reason for something), resulting in perhaps embarrassment to the speaker.  A rubber tree image or thought might also be in the mix.   A special thanks to Allen Muir for sending this one in!


You’re barking up the wrong alley

This is a conflation of “barking up the wrong tree” (making the wrong choice) and “up a blind alley” (at a dead end).  The confusion seems to lie in the shared word “up”, and that both idioms describe frustration and negativity.  “Right up my alley” may also be in play here, juxtaposing wrong and right.  And lets not forget those dogs that bark incessantly in alleys.