Why is he so jealous of me?

My guy friend seems really jealous of me, he seems happy when im sad, he never helps me out, he also seems against me. For example, when other people are against me he sides with them.
Why is he so jealous of me?
Post Opinion