Sounds like they were frightened by something, probably a predator nearby. How long have they been acting this way? You might want to keep them locked in somewhere safe with food and water (and lots of their favorite treats) and see if they will calm down a bit. Try not to disturb them much so...