The pitch to Cabrera was nowhere near anything except Cabrera's head. It makes no sense to throw at someone in a tie game. So either the pitch just got away, or Ramos did something dumb.
Either way, I w what Pete could have said to get ejected. The benches were warned, but why would Pete object to that at this point?