Jewish History: Biblical History: Moses' Near Death Experience:
Why was Moses almost killed when he stopped at an inn on the way back to Egypt?
The Talmud (Nedarim 32a) explains Moses' dilemma as follows:
It was time to circumcise his newborn son, but travel is
dangerous for a newly circumcised child, and G-d had ordered
Moses to leave for Egypt. Moses therefore set out for Egypt
and delayed the circumcision. He was (nearly) punished because
he delayed it more than was absolutely necessary; he should
have done it before "checking in" to the inn.
Ask a follow-up question