When a player assigns hits that were produced against their units, that player chooses a number of their units to be destroyed equal to the number of hits produced against those units.
This is the official Living Rules Reference wording under Destroyed.
LRR v2.0 (base game / Prophecy of Kings); specific card abilities may override the general rule.