HOW DO THEY KNOW??

that is a good question! they are VERY smart! and very intuitive!