Another way to say "A baby can cry when it's unhappy" is "A baby might indicate that it is unhappy by crying."