Because people would shun the ATMs and create long lines at the tellers to ask for tens if they changed the twenty. Now there is no way to avoid this foolishness easily.
Refuse to accept the new $10 as change. Demand 2 $5 bills instead. It’ll die a swift death, just like the Susan B. Anthony dollar coin did