Cats all do logic. Mine loves the smell of coffee, because it precedes breakfast every day. His predecessor would wait by the front door after hearing me order a food delivery on the phone. Perhaps he knew sundown calls preceded dinner deliveries.
Of course I insisted to my wife that Freddie knew our address, so when he heard it he knew food was coming!