Why do male birds not discriminate between their own and extra-pair offspring?

Why do male birds not discriminate between their own and extra-pair offspring?