As the senior driver in the team and having already witnessed once, about how Ocon was jumping in the space available, Perez should have left good racing room for Ocon and tuck behind him to get toe and then overtake at the end of straight. He should have realized that, him trying to be ahead at that exact point, was only suicidal because after Radillon, Ocon would have got a great toe and would most likely have passed.
With a rookie, Perez is driving like a rookie which is only going to damage his reputation even more. Ocon would be forgiven for being a rookie and would be appreciated for his speed and zeal, but Perez? He is going to suffer the worst outcome.
Perez has to blame himself for screwing the relationship with Ocon with his selfish approach in Canada. With the speed difference between the two fast diminishing, it wouldn't be a surprise to see Ocon beating Perez constantly next year. Just the way Max is doing (while Renault PU isn't like it. ).
Not sure how much the following is true and how much that is affecting Perez.
Link -> Perez disillusioned because he is not released from the team