The big reason pig farms castrate male pigs is that otherwise, once they reach puberty, their testicles pump out androstenone, which becomes concentrated in their adipose tissue and can make the meat taste like sweat and piss. It’s called boar taint.