Cherry does not have to put on the pretense of being a Soc when she is with Ponyboy. Just as Pony is not fully embedded in his status as a Greaser, and can easily walk between the two worlds through his manner and intelligence, Cherry is also one who represents the moderate Soc; not fully engulfed in the lifestyle and social expectations of her group. The two are, in effect, 'outsiders' themselves--meaning that they are on the fringe of their own social groups as a result of their values and personalities. They are kindred spirits, but are likely doomed to walk their teen days separated by respective class boundaries.
From a literary standpoint, Cherry's presence also serves as the keyhole through which we see the humanity and problems of the antagonists--the Socs. Because we need to see the author's theme that 'things are tough all over,' the author likely needed a character that gives us a glimpse into the Soc world and was herself sympathetic. She was flawed, as evidenced by her statement that she might not greet Pony if she were to see him in school, but we see she was struggling with essentially the same issues as Pony. Instead of a jarring change of point of view in the novel, the author was able to give us information from the other perspective by making Cherry accessible to us. It was necessary for her to be able to go between both camps.
The fact that Cherry belongs to the Socs and that Ponyboy belongs to the Greasers makes their friendship and the ease with which Cherry can talk to Ponyboy rather surprising, given the long-standing animosity between the two groups. However, if we look at the beginning of Chapter Three, we can see that Ponyboy believes that she is able to share things with him that she can't share with her "friends" precisely because he is not part of her "group" and she can feel free and relaxed around him. Note what he says:
She was coming through to me all right, probably because I was a greaser, and younger; she didn't have to keep up her guard with me.
Ponyboy here paints a rather bleak picture of young people in his day. They have to "keep their guard up" even when they are around those who are like them and are supposedly their "friends." This therefore shows how both Greasers and Socs struggle in their separate lives.