Stop telling me to stop being upset because the baby will feel it

I hate if I get upset about something completely valid and I’m told “stop!!! The baby will feel it!!!!” Thanks now I’m MORE UPSET I can’t stop crying on command but sure