It seems to be a characteristic of some roosters to prepare the nest for the hens to lay their eggs from what I've been observing.
Seems like a way of courting?
Roosters sleeping in the nest is weird? Maybe they are confused which gender they are suppose to be.