According to Jim S02 E09 Thanksgiving Confidential
Cheryl and Jim are organizing the school's Thanksgiving Day play, and when they are alone on the set, they decide to get intimate. Andy and the PTA President walk in on them, and the story gets spread. Cheryl is dismissed from the play.