Do you think I upset my friend?

I have a friend who works as a cashier at a store. He was checking out another person who was ahead of me. And while he was checking him out. My friend yelled out "I need money" And the guy ahead of me said, "isn't that why you work a job?" And I started laughing (I was actually intoxicated and didn't mean to laugh.)

(I think my friend was saying he needed more money for the cash register)
Updates
+1 y
I did send my friend a messaging apologizing for laughing.
Do you think I upset my friend?
Post Opinion