Gaetz, who was nominated last week, faced questions over his qualifications to serve as the country’s top law enforcement official and his past conduct.