Batting average discounts walks as non-events. Batting average treats all hits equally. Batting average counts some fly balls as outs and ignores others entirely. If you hit a ground ball out to third that moves a runner from first to second, that’s an out in your ledger. If you BUNT a ground ball out to third that moves a runner from first to second, that’s not an out in your ledger. Sometimes, if you hit a ball and reach base safely that is still an out in your batting average.