The ban on Cuban cigars was more accurately a sanction of Cuba the country, and a related ban on imported goods from Cuba. Medicine from Canadian companies isn’t banned, but medicine sold in the US has to comply with safety regulations. Likewise, Kinder eggs are regulated due to food safety concerns.
All of those have a tie back to existing authority held by the federal government. Banning a mobile phone app that shows people digital content doesn’t seem to have a similar connection.