Stuff like that happens... there's no stopping it. I'm sure the guy was flattered, and probably had a twinge of a wish that he was in a position to accept.
My goof was a little worse than that. When my wife went into labor with our first son, I was supposed to be in the delivery room with her, but the hospital staff asked me to "wait outside" while they prepped her. Naively, I agreed, not realizing that this was just a ploy to get me out of the way (fathers in the delivery room was still a new phenomenon at that time, and not a welcome one). They never came back for me. But that's not what this story is about.
While I was waiting, I met a couple of other guys whose wives were also in labor. We sat and whiled away the time, and one of them and I got into an excited discussion about our feelings on becoming fathers for the first time. The third guy didn't say anything, and after a bit got up and left.
A couple of hours later, having seen my son and visited some with his mom, I was leaving the hospital when I saw the quiet guy standing, talking with a couple of other people. So, brimming over with joy to spare, and thinking to help him over his shyness, I went up to this group and said, "Hey, man! How'd your baby come out?"
There was no answer; everyone stared at me. "What did you get, a boy or a girl?" I asked by way of clarification.
After a long pause, the guy said, "Well, my baby was born dead."