WASHINGTON —The Supreme Court agreed Tuesday to consider whether the Food and Drug Administration acted unlawfully in refusing to approve flavored e-cigarettes that are often used by teens.The case is a test of the FDA’s role in approving new nicotine products at a time when new ones are proliferating.E-cigarette makers have brought court cases around the country challenging the FDA’s decisions. The FDA won most of them, but it appealed to the Supreme Court after the 5th U.S. Circuit Court of Appeals in January ruled in favor of two vape companies seeking to have their products approved. The appeals court concluded that the FDA had failed to correctly assess the companies’ requests in violation of a federal law called the Administrative Procedure Act.That case was brought by Triton Distribution, which makes e-liquids for vape pens in such flavors as “Signature Series Mom’s Pistachio” and “Suicide Bunny Mother’s Milk and Cookies,” and Vapestasia, which has sought approval for flavors including “Iced Pineapple Express” and “Killer Kustard Blueberry.”Three other appeals brought by vape companies that lost in lower courts are also pending at the high court.The FDA has consistently declined to approve flavored vapes, saying they may be a health risk because they may encourage young people to use tobacco, although they remain widely available. The companies say the FDA got it wrong, arguing that their products can be used to help people stop smoking.The FDA has concluded that the potential benefits of helping adult smokers quit do not outweigh the potential health risks to young people.Meanwhile, teens’ use of other products containing nicotine has grown.The FDA recently approved menthol-flavored e-cigarettes for the first time. It has approved other e-cigarette products, as well.Amid the debate on the potential health dangers of vaping, the FDA last month also rescinded its ban on Juul’s selling its vape products.The justices will hear oral arguments and decide the case in the next Supreme Court term, which begins in October and ends in June 2025.CORRECTION (July 3, 2024, 1:05 a.m. ET): A previous version of this article misstated when FDA rescinded its ban on Juul’s selling its vape products. It rescinded the ban June 6, not this month.Lawrence HurleyLawrence Hurley is a senior Supreme Court reporter for NBC News.