I believe a motif can contribute to, or become a theme when it gathers larger significance throughout a text. A theme is what you generally write about in a literary piece, so if you develop a metaphor further, it may come to denote a theme of a work.