Negative bf

I care about my bf but sometimes he's so negative about everything and everyone i can't stand it. Recently it has started to piss me off so much, i understand ups and downs but he thinks the whole world is against him.

For example if he "embarasses" himself in public, small things, like doesn't hear what the customer service person says to him, and has to repeat themselves, he later tells me he wants to die and not talk to anyone ever again because of this.

We could have best day ever and one inconvenience happens and he calls the day ruined, ruining my mood at the same time. We can have great time together but the negativity makes me so unhappy and frustrated, sometimes feeling like it's my fault.