https://www.nytimes.com/2017/07/21/us/politics/sean-spicer-resigns-as-white-house-press-secretary.html

Apparently, appointing Anthony Scaramucci as communications director was a last straw.