Gold is a gift fit for a king. Frankincense is the incense that the priest use during the worship. Myrrh is a spice used for burial. Thus, Jesus was honored by these gifts as King, God and Sacrifice.
"Where is the one who has been born king of the Jews? We saw his star in the east and have come to worship him." Matthew 2:2 NIV