At a Presidential press event, those cameras would have been digital SLR cameras. SLR means Single Lens Reflex. They have a mirror that directs the lens view up to the optical viewfinder. Upon releasing the shutter, the lens pops up with a notable click allowing the view to go straight back to the shutter which opens allowing the view to reach the sensor.
Since every Tom, Dick, and Harry has a dSLR these days snapshooting, probably the same at the golf event. It was someone shooting with a dSLR and you can't turn the noise off.
On point and shoots and cell phones, it is a simulated shutter noise from the speaker. It's cheesy in my opinion. I don't use a dSLR and I always turn the shutter sound off first thing.
Simulated shutter sound - Turn it On or Off?