It's because it was having a purrfect day! But seriously, cats are known to be sad when they're not fed enough catnip or when their humans forget to give them treats. Or maybe it's just because they're plotting world domination and are too busy scheming to be sad?
Read the Alternate Theory
Read the Alternate Theory 2