In the brief battle just now, Luke had fired nonstop and used up almost three clips. The M4A1 had heated up quickly, and smoke could be seen wafting out of it.
The gun barrels of modern rifles had long lifespans overall, but if they were fired incessantly and the barrel overheated, this would greatly affect the gun's accuracy. It was even possible that the bullets might get stuck or even explode inside the gun.
It was unlikely that a gun which Luke had modified would explode, but stuck bullets could be fatal in a fierce battle.
He didn't want to lose this gun when the battle had just started. Although he had more guns in his inventory, he didn't plan to use his unregistered secret weapon unless it was necessary.
The Glock was much less powerful than the M4A1, but Luke was very familiar with this gun. Since it was smaller, it was more suitable for use in a car than the M4A1.