Maybe they can dream! Simple things like eating and not doing crap or getting frightened by a large hand. LOL
It's possible that he sensed something or a vibration we don't notice that scared them. Sometimes even the smallest noise or movement while I'm around will startle one of my snakes out of their wits, while at other times, they don't react at all to louder sounds/bigger movements.