Another way to say "when people are sad, sometimes they cry." is "People sometimes cry when they are sad."