When the energy of Photon (E=hf) is greater than band-gap, an electron of valence band can receive energy of Photon and reaches to the conduction band, thus creates an electron-hole pair.
For high band-gap material, most of the photons can't create an electron-hole pair.