After two balls collided, physicists explain how the event occurred—and how science is changing the way America’s pastime is played.