Depression , crying , and emotional

I've been very depressed lately & my mom keeps saying it'll cause harm to the baby all the crying and being upset. Is it true? Has anyone had these problems I'm 27 weeks