A nation has the sovereign right to implement tariffs. In response, other countries may exercise their right to apply retaliatory tariffs. Fairness and unfairness are subjective.
Notice “nation” part, not “president”. Tariffs power in the US vested in Congress, and Congress created laws which regulate it. What Trump is doing is outside of his legal powers, regardless to some conceptual reasoning why countries can do retaliation tariffs.