He didn't tweet "the opposite".  He tweeted a remark that is consistent with his agenda and inconsistent but not directly contradictory to Pentagon arrangements.  If you want to understand what is happening, don't make things more than they are; look at them precisely and without imported assumptions.