Loss of baby πŸ˜₯

I can't help but feel that I'm the reason we lost our baby that we didn't know was inside me unti it was too late. I keep thinking that if I didn't have my surgery 2 1/2 weeks ago I'd still have the baby inside me. The doctors told us that the surgery didn't cause me to have an ectopic pregnancy and it was most likely ectopic from the start. I just keep getting the feeling that it's my fault it happened and I should have known I was pregnant. I don't know why I keep crying random times in the day thinking of the baby I lost that I never knew was inside me until it was too late. Does this feeling ever go away? I've tried to talk to my husband about it but he doesn't know what to say. He just says atleast your here now and your healthy.