Okay I'm about to get in trouble here with my photo friends but.... it absolutely is the photographer not the camera. It is also the volume thing. There are a thousand times more pictures taken with PnS mid to low quality cameras than slrs. Just the pure odds say that now and then a great great picture will result.
That is not to say your odds don't go up if you have some concept of light and composition. But one of my instructors said, "Don't worry if all the cameras at a wedding are throw away, someone will still make the best picture of the day, and it most likely wont be you... I am sorry to say but she was right a lot of the time.