He wants to test. He doesn't want to be the bad guy who breaks a 30+ year old global nuclear testing moratorium beloved by sane people everywhere. Trump takes on that burden, Xi gets to see if all these weapons they've been making but never actually setting off really do go boom, and how much boom.