Assuming that you mean the Enclave are better, why do they attack random poeple who have not yet harmed them?
Unprovoked violence towards the player is just laziness on Bethesda's part, but "random" is incorrect when referring to Enclave's relation to the locals in general. Enclave personnel in Wasteland outposts scan the DNA of all locals without hurting them, and those who pass the gene test are given water and sent away. Those who fail to pass the test, almost always Ghouls, are exterminated as mutants.
It's up for debate whether this is because of Colonel Autumn's sympathies for the locals or Eden allowing a small spectrum of Wastelanders survive the FEV holocaust, but one thing is for sure: The Enclave does not unconditionally kill everyone, just the worst mutations. Furthermore, in some outposts the Enclave confiscates any weaponry found from the locals, and registers their names in database for further use. This, in my opinion, hints towards what I call "selective salvation" that is sparing more or less a great deal of the Wastelanders and to integrate them back into the reborn American society upon Enclave victory.
EDIT: Want proof? Here are the terminal entires for gene scanning and weapons confiscation, respectively. Boldings made my me for emphasis
Mission Directive: Establish and enforce Enclave presence among general populace, disposal of genetic non-compliance offenders.
I. Establish constituency enforcement point at coordinates 39.138 x -77.070. Monitor civilian movement in area, and debrief superior regarding any events of notable significance or regularity.
II. Distribute purified water rations to civilians willing to submit to genetic compliance screening. Participation in screening is compulsory for all civilians, and use of force is authorized in enforcement.
III. Genetic non-compliance offenders should be detained at checkpoint.
IV. To conserve consumption of Enclave resources, detainees should be disposed of by flame only when withholding facility becomes overcrowded, or detainees become unmanageable, whichever comes first.
DEPARTMENT OF THE ARMY
PEACEKEEPING AND RECOVERY
FIELD OPERATIONS SECTOR, 27P
Name: six: Serial:
------------------------------------
Zundel, C. M GMA01
Hastings, H. M GMA02
Hastings, K. F GFA02
Bonner, J. M GMA03
Schrader, B. F GFA02
Junk Finger M GMA04
Spookia F GFA03
Weapon: Type: Serial:
------------------------------------
Combat Knife SS GSS01
10mm Pistol SA GSA01
Brass Knuckles CF GCF01
Brass Knuckles CF GCF02
Combat Knife SS GSS02
32Cal Pistol SA GSA02
Kitchen Knife SS GSS03
Board With Nail LP GLP01
If these do not tell of a conventional occupation with aims to integrate at least some of the Wastelanders into Enclave-dominated USA, then nothing will ever prove anything.