In Chapter 11, what do you think is going on with Ponyboy when he says, "Johnny didn't have anything to do with Bob's getting killed"?
In Chapter 11, Randy Adderson visits Ponyboy's home to have a conversation with him before they go in front of the judge. When Ponyboy mentions that he is worried about being sent to a foster home, Randy says, "Listen to me, Pony. You didn't do anything. It was your friend Johnny that had the knife..." (Hinton 141). Ponyboy responds by saying, "I had the knife. I killed Bob" (Hinton 141). Randy tries telling Ponyboy that he is wrong and says that Johnny was responsible for Bob's death. However, Ponyboy insists that he stabbed and killed Bob and repeatedly tells Randy that Johnny had nothing to do with Bob's death. Ponyboy even refuses to acknowledge the fact that Johnny is dead. The reason Ponyboy tells Randy that he killed Bob and denies the fact that Johnny is dead is because he is suffering from post-traumatic stress disorder. Ponyboy has witnessed two of his close friends die and is also trying to recover from a concussion. Ponyboy is attempting to repress those tragic events which negatively affected his psychological well-being. Later on in the novel, Ponyboy accepts what happened and makes a full recovery.
Ponyboy is still not well when Randy comes to visit him to discuss the hearing. Ponyboy keeps saying that he had the knife and killed the Soc and that Johnny is not dead. He is still in shock and sick physically, mentally, and emotionally. He will heal, but it will take time.
Ponyboy's mind is protecting him from anymore pain and in turn he is trying to protect his friend Johnny.
For a lot more on the subject of The Outsiders check out the link provided.