He knows how they work: he threatens them and his supporters cheer, he implements them and people negotiate. There are other, some would say better, ways to get the same effects but tariffs are Trump's go to. In the metaphor "when you have a hammer everything is a nail" maybe Trump is the hammer and tariffs the nail?