Protected is based on either the same package (which the example is not) or inheritance.
Duck1 does inherit from Bird, however the access is from a static method of Duck1, and is therefore not being used with inheritance. If an instance method of Duck1 had tried to access it, it would have worked.