Star Adder, might help them if you add more detail and screenshots to this. Then explain what happened and what should have happened.
In the games I've seen myself I do find the AI looking at just the health of an enemy unit for determining who to attack and not taking account to it's defenses. Tactically I've seen a strong unit cast blind instead of just walking up and attacking and killing the unit outright.