Why does feeling sad hurt?

Saddness can have physical effects. The part of the brain that processes physical pain also deals with emotional pain.