Ever since he could remember, Stanley Marsh had been forced to believe the controversial views of his parents; everything was a sin, everything was against God's plan for himself. He couldn't have sex before marriage, he couldn't go out drinking with his friends and he certainly couldn't have 'impure' thoughts about his best friend, Kyle Broflovski. So Stan has to push Kyle away; his friendship, his kindness. He pulls out an act, forcing himself to appear disgusted by Kyle and his obsession with skinship. It wasn't intended to homophobic. It was all coincidence that Kyle happened to come out as pansexual just as he was acting this way.