What makes you think it was the President?
If its coming from his twitter account, its his tweet. Unless hes been hacked, which I highly doubt. I cant see Trump blaming it on someone else. It does seem like his occasional style when he trolls the left - deservingly so.