I was running a group through the dead suns adventure and I noticed that the enemies have 1d4+1 for azimuth laser pistol and other weapons had bonus damge to range weapons.
What is giving them the bonus to the ranged damage? I could not find a rule or explanation.
Basically, they're all considered to have Weapon Specialization. Something pretty much everyone gets at level 3 (even Pathfinder legacy characters). It's just default added to every enemy rather than waiting for them to hit level.
It's more complicated than that though, because even if they only have basic melee weapons or small arms they still add their level to damage, while PCs cannot.