3 wise men had a dream by the angle and rushed to see the new born baby and gave him gifts.
the king was jealous of Jesus and ordered his soldiers to kill every baby boy under 3 years old then Jesus had a vision from an angle and he was told to run to egypt till the king died and then return to their home town so thats what they did