Many people in the crowd had not purified themselves, and therefore they were not able to kill the lambs and dedicate them to Yahweh. So it was necessary for the descendants of Levi to kill the lambs for them.