I'm not sure what it is you're asking. Are you asking what the VISUAL difference is between the two items? Not much, aside from a color palette swap. The Gunslinger Hat has a green band, the Stetson has a blue. Many item series are like this (that is, until you hit the 4* and 5* variants).
Are you asking what makes one more valuable than the other? Between the Gunslinger Hat and Sunset Stetson in particular, there's not just a "difference" in stats .... the Sunset Stetson improves on both the defense and piercing damage bonus over the Gunslinger Hat by leaps and bounds. Huge upgrade there.