Can been upset hurt my baby ?

Yiota
I'm nearly 33 weeks and I've been so upset over something the last week or so and I've been crying myself to sleep every night and waking up and crying and I hardly sleep if I sleep it's just a few hours like 3-4 hours a night if that and now I'm getting more upset thinking I'm harming my baby girl but I realised each time I cry she kicks me more