There is something wrong with me. i am generally sad and often just snap at people but then something will happen and then i will be happy.

I am really worried now because the one person that makes me happy is leaving. what do i do?