Your point is taken, they’re both challenging.
Usually they’re aiming to drive the ball over a target (fence), or to avoid 8 moving targets (9 if you count the catcher). Or to possibly hit behind a (target) runner in order to advance him. The best on the planet are lucky if they get it done 35% of the time.
If golfers had to play with noise around them all the time they’d learn to tune it out just as they do in many other sports. I saw Woods several years ago get upset when someone snapped a pic during his backswing (evidently a noisy shutter).
“What are baseball players aiming AT?”?
I assume from your comment that you are attempting to attach more difficulty to the task of hitting a stationary golf ball to attempting to hit a 93 mph ball coming at you, and perhaps on occasion coming at your head. Or the next pitch which drops 14 inches over the last ten feet of it’s flight. Golf is a joke, compared to the real sports. And golfers are lightweights, demanding complete quiet so they can make their shots. What wusses.