Not every case is the same, but generally speaking, sociopathy is defined by absent or heavily deadened emotions of a more abstract variety. Expressing emotions such as happiness or sadness is a choice for them.
They can feel what are known as the primal emotions, anger, frustration, rage, fear, etc. But even that response is less intense than it is for others.