This is unrelated to the trade war. There are security concerns with Huawei products because the company has deep connections to the Chinese government.
As do all companies based in China. Huawei has long been suspected of doing a lot of network espionage work for the Chinese government - as are Chinese social networks, chat apps, mail apps, etc - but we also know for sure that Silicon Valley's Big Tech are heavily infiltrated by the NSA.