This sort of behavior can occur in the run up to brooding. When hens have the hormonal change of being broody, they tend to look for a secure place to hatch their eggs, for which could be the floor, if they feel they wont be invaded by other chickens in the nest box.
An other scenario could be that something could be stopping them entering the nest box, but we need more information from you to come to a final conclusion.