The heading of this one says it all. It's a good question. Intuitively, it's very hard to see how a bright flash can cause a loud noise.
I had to confirm my hunch on this via the magic of the internet. You might like to look it up yourself and/or post your own answer in the comments.