Because different target have different resistance/defense? It's impossible to know exactly how much stat NPCs have, but you could try PvP a few chars with different amounts and compare the dmg vs def/res
There are some randomness yes, thou it should be in some reasonable range for each target/instance/whatever. It won't be a few hundred now and then tens of thousand the next time.