Why do we smile when we're happy? Is it because we're happy (we also expose a similar face when we're scared), or is smiling the purpose of feeling happy?
I wouldn't say (and wasn't saying) that the purpose of feeling sad is to cry or engender social signaling (parallel to happiness, the purpose of sadness is downregulation of behavior), but the compulsion to cry itself and the relief afterwards is about signaling.