Unfortunately not a bug.
What is going on is the “random” element of the damage calculation.
Link below for more reading but essentially while the damage calculation factors in the attack of your hero & defence of the enemy & any buffs/ debuffs that are there, there is also a RANDOM element to it… Just like everything in the game
That random element causes variations in the specific damage which gets dealt when everything is the same same as before.b