A former Arizona legislator known for sponsoring the state's anti-illegal immigration law is apologizing for comments he made about the Colorado movie theater shooting that some interpreted as an attack on the victims.