Two reasons,
1. to make sure the rounds are all aligned properly within the magazine. A jam is more likely if the rounds are not 'seated' correctly.
2. to distribute any ball powder that may have 'caked' or settled within each round casing.
While the second reason is probably not important in combat, it does provide for a more uniform burning of the powder and better accuracy.
Regards,
Malta