Perez wasn't close enough to Vettel to attempt a pass. Therefore his move to the left must have been considered blocking (changing his line) by the race stewards. Hence the penalty. He was slowed by electrical issues before that, but I think he had got them sorted out by the corner. In my opinion he saw Massa coming [HTML_REMOVED] didn't want him to pass so he veered left.
Thread killer