Sadness

Can being sad/crying hurt my baby? My grandmother isn’t doing well and I’m very upset. Having a hard time dealing with this but still wanting to do right for my baby (23 weeks)