Defense Secretary Robert Gates is in Afghanistan, where he learned about the arrest of WikiLeaks founder Julian Assange.