The Magi found three things in Christ— namely, royal dignity: "he shall rain as king and deal wisely” (Jer. 23:5); and therefore, they offered gold in tribute. The greatness of the priesthood: and, therefore, frankincense, as a sacrifice. Man's mortality: and therefore, myrrh.
ST. THOMAS AQUINAS Commentary on Matthew