If Peter was the first pope and Christ created the Catholic church; how do we explain the problems of those seven catholic churches mentioned in Revelation?
Doctrine from Jesus or not?
The same way you explain how Judas betrayed Jesus, who is God incarnate.
People do bad things. And the church is composed of these sinners.