Roman soldiers were also often drafted to serve and weren’t well paid. They would have been willing to steal the dead’s clothes because that would have been one thing they wouldn’t have had to buy.
The Roman Republic drafted soldiers, but with the coming of Augustus the army changed to a larger, more professional force of volunteers. It was possible for foreigners to earn Roman citizen through military service.