Let's say that Judge hits 30% better against the Orioles than he does against the rest of the league.
I'd posit that 30% improvement is about the average for all ML hitters over that same time period.
Obviously outliers are going to exist but the O's, over the length of Judge's career, have had many below league average pitchers suit up for them. It isn't surprising that Judge, or anyone else, puts up superior numbers against inferior competition.