Almost everyone's asking the same question regardless of what they think's going on inside Trump's head. The two most coherent answers I've seen are "to soothe his narcissistic injury from being told he can't" and "feels entitled to it because NATO", you will note neither of these was his stated reason, and all of this is still catastrophically poor judgment on his part.