Rational or not, they're building warships and an invasion fleet, along with the ability to stifle any US attempt to stop them. This is not the action of someone hoping for a slow victory.
The person at the top of the chain was asking why everyone is preparing for war. This behavior from China is why. It predates any of the Greenland Trump idiocy, too.