Its not that hard - don’t try to break down people’s front doors, and you won’t get shot.
Not wise decision making. In other words...he chose poorly.