Photospheric Origin of Three-minute Oscillations in a Sunspot