Tariffs reduce aggregate demand. That's a sanitized way of saying put people out of work, slow the national economy, and risk recession.
Corporate income tax increases, OTOH, might reduce growth a little. Higher corporate taxes might make some projects and business expansions not pencil out, might reduce margins, and would likely reduce stock prices.
Overall, nobody gave up on making money or changed their mind about getting rich because their tax rate went up a few percent. Tariffs, though, likely change consumers' behavior by forcing them to consume fewer goods and services with their limited incomes. Corporate taxes are unavoidable if you want to start or invest in a corporation, but tariffs on discretionary purchases can be avoided and therefore are avoided.
A final note: The corporate income tax rate does not directly affect the prices of goods and services. Tariffs do. So by raising prices, tariffs contribute to inflation, which require higher interest rates to stamp out, which slow economic growth. Tariffs can increase prices even on things made in the imposing country, if there is a domestic monopoly or duopoly as the only alternative to the tariff'ed importers. I.e. Why shouldn't the only U.S. manufacturer of N95 masks or a particular auto part, for example, raise their prices to match the cost of imported masks after the tariffs, and keep the difference as margin?