Some people say
Joseph's coat is mainly a lesson about parental favoritism.
What Scripture actually says
That is present, but the coat is a symbol Scripture uses to trace Joseph's whole arc: favor, suffering, providence, promotion. The coat leaves and returns because God is telling a bigger story.