Mate investment.

Downy woodpeckers don't give alarm calls when they are paired with same-sex partners.

They emit such alarm calls when they are paired with a member of the opposite sex, regardless of kinship.

Note these alarm calls are different from the drumming used as a mating call.