A Michigan judge, Kathleen Ryan, has voluntarily resigned after an investigation uncovered recordings of her feelings about the LGBTQ+ community and Black people.