Gates was angry at what the cop was thinking, not anything he said or did (except for the failure to identify himself - but he knew and said Crowley was refusing to answer only because Gates is black.) That's set forth very clearly in the interview written up by his daughter.