President Trump's tweeted transgender military ban on July 26 drew immediate criticism from both Democrats and Republicans, who were caught unaware by the decision.