We propose a protocol to generate the cluster states of four A-type three-level atoms trapped in distant cavities by using the interference of polarized photons. The protocol uses the effects of the quantum statistics of indistinguishable photons emitted by the atoms inside optical cavities. This makes the protocol more realizable in experiments.