The many gates of Jerusalem

It was customary to close the gates of
Jerusalem at night but during the days
of the Passover they did not because
many people had no place to stay.
Some Samaritans defiled the temple by
putting parts of dead bodies all around
in the area of the temple.

This angered the Jews. After that the
Samaritans were not allowed on the
temple grounds.

This caused the Jews and Samaritans
not to have any thing to do with each
other.

So most of the time the Jews took the
long way around as not to go through
Samaria when they traveled to Galilee.