Without even reading the OP, I cry for relief, to assuage pain.
Now, I'm going to read the OP. It sounds as if you're wondering why someone might cry in front of others. I rarely, if ever, do. I hide it. I really never want anyone to see, which is kind of sad, but when I'm feeling shitty enough to cry, I'm usually feeling too vulnerable to let anyone see.