Tariffs are good. If you have a nice mall, and you allow street vendors to walk through it selling junk, eventually the mall becomes trashy and there's no benefit to paying the rent for a proper storefront.
Tariffs don't do anything to prevent street vendors from selling junk; there is plenty of domestically-made junk to be sold. They only serve to hinder outside vendors from competing against that junk with either cheaper junk or better not-junk (Framework in this case being the latter).