Your baby’s response to another baby’s cry may or may not show that they are feeling concerned for the baby, but it does show that your baby is aware of those around them.
If you would like to know more, please see this article.