I'm not really joking, because that really does seem to be the underlying philosophy in what he does: it's whatever he thinks makes him the "big man tough guy". Trying to analyse things beyond that just doesn't make much sense.
Now on Taiwan, he's already stated previously that he will _tax_ China if they invade Taiwan. This contradicts long standing US policy of not stating exactly what action the US will take in the event of invasion, and has had the result of pushing up projections of exactly WHEN China will invade Taiwan to be within the next two years, during Trump's presidency.
The only thing that will possibly make this change is as a condition of financial supporter Elon Musk, who needs those NVIDIA cards that come out of Taiwan so he can pursue his religious mission of winning the AI race. And that's only if TSMC manufacturing capabilities can't be dragged out of Taiwan and set up elsewhere in a sufficient timeframe to reduce the impact if China were to invade Taiwan.
What you or I view as "big man tough guy" doesn't necessarily align with what Trump views as "big man tough guy". In Trump's view, "solving" the problem of Taiwan one way or the other, when so many other presidents have "failed" to do so, makes him the big man. Whether he completely screws over American interests in the process – never mind the people of Taiwan – doesn't really enter in the calculation.