This is something you're more likely to see in people who are still school-aged. The basic idea is an awkward kid doesn't fit in for whatever reason. They try to be liked at first, but one day they just give up and start acting purposely weird to annoy and provoke the people who ostracized them.