A phrase used in response to someone's misfortune. It could be used to offer sympathy, but more often than not it's an exclamation of malicious joy.
The phrase has dropped its possessive prefix – originally "He/She/It must be hating life!" – in order to be simplified to its current state.