Trump regularly takes advice from Grok, including on geopolitical decision making.
(www.thedailybeast.com)
Musk knows which accounts are connecting from the white house, it would be child's play to deduce which belonged to trump if he used it semi regularly. There's a very real chance he was injecting stuff into that convo.