Matt. II. 2.
“And when they had come into the house, they saw the young Child with Mary His mother.”
How then says Luke, that He was lying in the manger? Because at the birth indeed she presently laid Him there (for, as was not unlikely, in that large assemblage for the taxing, they could find no house; which Luke also signifies, by saying, “Because there was no room, she laid Him” there); but afterwards she took Him up, and held Him on her knees. For no sooner was she arrived at Bethlehem than she brought her pangs to an end, that you may thence also learn the whole dispensation, and that these things were not done at random, or by chance, but that they all were in course of accomplishment, according to some Divine foreknowledge, and prophetic order.
But what was it that induced them to worship? For neither was the Virgin conspicuous, nor the house distinguished, nor was any other of the things which they saw apt to amaze or attract them. Yet they not only worship, but also “open their treasures,” and “offer gifts;” and gifts, not as to a man, but as to God. For the frankincense and the myrrh were a symbol of this. What then was their inducement? That which wrought upon them to set out from home and to come so long a journey; and this was both the star, and the illumination wrought of God in their mind, guiding them little by little to the more perfect knowledge. For, surely, had it not been so, all that was in sight being ordinary, they would not have shown so great honor. Therefore none of the outward circumstances was great in that instance, but it was a manger, and a shed, and a mother in poor estate; to set before your eyes, naked and bare, those wise men's love of wisdom, and to prove to you, that not as mere man they approached Him, but as a God, and Benefactor. Wherefore neither were they offended by ought of what they saw outwardly, but even worshipped, and brought gifts; gifts not only free from Judaical grossness, in that they sacrificed not sheep and calves, but also coming near to the self-devotion of the Church, for it was knowledge and obedience and love that they offered unto Him.
“And being warned of God in a dream that they should not return unto Herod, they departed into their own country another way.”
See from this also their faith, how they were not offended, but are docile, and considerate; neither are they troubled, nor reason with themselves, saying, “And yet, if this Child be great, and has any might, what need of flight, and of a clandestine retreat? And wherefore can it be, that when we have come openly and with boldness, and have stood against so great a people, and against a king's madness, the angel sends us out of the city as runaways and fugitives?” But none of these things did they either say or think. For this most especially belongs to faith, not to seek an account of what is enjoined, but merely to obey the commandments laid upon us.
Source: Homilies on the Gospel of St. Matthew (New Advent)