Etymology
Today it means: A pitch deliberately thrown at the head of the batter. Full definition →
From bean + ball, from the slang bean (“head”).
Etymology from Wiktionary, CC BY-SA 4.0.