Good players beat you. That’s what they do.
In regards to pitching to him, it’s the competition. If it were me out there, I’d want to try to get him out, too.
Judge hits homers, that’s what he does. Take the logic in the OP, apply it to all teams, they’d just walk him all the time. Even Barry Bonds got pitched to.
I’m more disappointed in giving up a homer to Higgy and a bases loaded double to IKF to put the game out of reach.
Get everyone else out, don’t let Judge hit with men on base. Don’t let chumps like IKF and Higgy drive in 5+.