That's a cultural thing. According to the vast and infinite knowledge of the wikipedia:
It could be either or, depending on what background you're from. Similarly, Orange and Red are hazard colors because animals displaying those colors are typically highly dangerous, and yellow is 'happy'...