The hearing marked the first time since 2019 that members of the Supreme Court have testified on Capitol Hill.