You can ask someone why they are happy. You can test how happy someone is. You can even ask someone how to get happy yourself.
But you cannot simply tell someone "hey, you aren't happy." You must relate it to either yourself, or you must relate it to one of their activities. A standalone "hey, you aren't happy" is the biggest way to project your own demon(s) inside another person.