Sounds like the suspect shot them in the back from the tree line/parking lot out front, as they were walking into the restaurant.
The suspect either knew the victims, or the suspect is simply another nutcake. Could be terrorism, but I doubt it in this case.
Just glad there was someone there to eliminate the threat. If he was in the tree line, perhaps his plan was to shoot people as they fled.