Bad Hair Life.

What exactly is meant by a bad hair day? I’ve heard that saying so much but I’m yet to figure exactly what it mean. Does it even have anything to do with hair or is it just one of those expressions like ‘got up on the wrong side of the bed’. Oh well…I understood that…