There were dozens of families getting into vehicles. But the shooter proceeded to the church.
The smoke bombs tell me he was probably looking for more of a target rich environment, specially as the van that he first attacked drove away after he'd shot a couple of people in it.