People just don't go up to someone's front door and randomly shoot them and flee. If it was a random robbery, they would have gained entry and finished their intended task.
This seems like some sort of retribution. At least on the surface.
In other words, the homeowner was probably involved in something, or with someone he shouldn't have been.