Knocking out the second window was probably for ventilation/air flow. This would help clear the room that must have been entirely chocked full of smoke.
When SWAT breached the door was locked between the two rooms with the broken windows.
If he were in a hurry and wanted ventilation, he’d shoot out a couple of windows window next to him rather than drop everything and to the other room.