Why are baseballs thrown out of a game if a pitched ball bounces in the dirt but a batted ball that hit the dirt part of the infield is usually left in play even though they're rubbed with mud before?
They do throw the balls out that have hit the dirt after it has been hit. Fielders finish the play and throw it back to the pitcher, and he will throw it back to the catcher to give to the umpire.