“Be happy with those who are happy, and be sad with those who are sad.” – Romans 12:15
Don’t force someone into good feelings if they need to mourn. Be what they need. The Holy Spirit will help you discern this on the asking. People have reasons sometimes. Just by being there as they are, you may very well bring them joy and peace.