A federal court judge said the Centers for Disease Control and Prevention had overstepped its authority in requiring masks on public transportation, a mandate that legal experts considered well within the bounds of the agency’s charge to prevent the spread of COVID-19 across the nation. Public health experts worry the ruling will hamper the agency’s ability to respond to future outbreaks. The CDC has asked the Department of Justice to appeal the decision.