Trump admin tried to restrict its use, at least among government/military, and perhaps predictably he was accused of racism/sinophobia...but the threat was just as real then as now.
In the US it really does matter how you do things. Just the whim of the president is not enough for it to happen.
Trump had no legal basis for his order. He liked to act like he was doing things with grand strokes, many of them were doomed to fail. I'm not convinced that he or those around him even cared if they did or not.
I don't think you can read much into an amateur hour / foolish attempt.
I don't think its so clear cut. In any case its hardly the first time that a president made a potentially unconditional to be ruled upon by courts later.
Not sure what we're talking about at this point. Trump's executive orders about tiktok that were thrown out of court were something different.
Trump or just the department who owns a given device can of course say "don't put X on government phones" and so on, but that's way different than what Trump tried and failed to do with tiktok.
Regarding Huawei , Trump basically told the Commerce Department to take action, Huawei was already (or was in the process of being) blacklisted by the commerce department, the commerce department does have the legal right to do that given the nature of Huawei's products and sensitivity of communications equipment.
The commerce department doesn't currently (although I believe lawmakers are looking into it) have the authority to simply blanket ban an app like tiktok on a whim / order. They simply can't do that for any old reason the POTUS says.
As I noted in another comment, in the US it does matter HOW you do things, the courts are independent (compared to say China) regardless how "right" someone might be they need to follow the law.
But as far as tiktok until someone gives the commerce department or someone else new powers, so far that seems out of reach.
Granted, I believe there are efforts to give them that option.
https://en.wikipedia.org/wiki/TikTok_v._Trump
https://en.wikipedia.org/wiki/Donald_Trump%E2%80%93TikTok_co...