White House support for a ban on sweet and fruity e-cigarettes appeared to be softening, as President Trump said the market prohibition could have dangerous consequences.

“If you don’t give it to them, it is going to come here illegally,” he said in a meeting Friday with vaping industry leaders, public-health advocates and others on policies to address a surge in underage vaping.

Mr....