The resting Mary in the background indicates that the scene is connected with the flight of the Holy Family to Egypt.