How is it possible?

How is it possible my dogs don’t hear me yelling for them to come downstairs to go out before we go to bed but can hear me four closed doors away unwrapping one of their treats? I need to get me some hearing like that.