Dude your being a bit dense. Its SUPPOSED to go down in damage when your standing in it and your resistant to it. Thats how YOUR resistances work, not the enemies. You cant open the menu and see what the enemies have active, so all you are doing is looking at how much damage it would do to YOU not the AI.
This is not a bug, nor is it an error.