There can be 2 different types of reaction from a jealous guy:
1. He will go into a nutshell and will become a loner. He will continue cursing himself even if the person he is jealous from is inferior to him.
2. He will come out aggressive and will do all sort of 'stupid things (as you mentioned)' to catch attention.
I have encountered many such (type 2 ones!) personalities in my short life so far. In school, they simply said the things loudly so others can pay attention to them (even if it is in the form of angry glares!). In university, such people used to lift their hands every time our professor used to ask a question during lectures. Believe me, they were always 90% incorrect!