@futurebird@sauropods.win King Herod was conducting a census. (There is no other record of this census, which is odd but not impossible.)
He required people to return to their town of birth for this census. (You conduct a census to determine how much labor / tax base you have available. This means knowing how many workers there are in a given area on a normal day. You want to count people while they're at home.)
Naturally, this resulted in a lot of travel, and that meant the hospitality industry was heavily overloaded. That meant they couldn't rent a proper room. (I'm not sure how this interacts with the duty of hospitality in Judaism.)